Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
ed71876
chore: init oc
MihalyToth20 Jan 19, 2026
1cc58bc
chore: add the registry refactor plan
MihalyToth20 Jan 19, 2026
1fb5885
refactor: move the registry add logic to the core from CLI
MihalyToth20 Jan 19, 2026
c0c7a0e
chore: add browser consumer plan
MihalyToth20 Jan 19, 2026
43f2e1f
chore: address review comments
MihalyToth20 Jan 19, 2026
a2a1c67
init: first browser-config draft
MihalyToth20 Jan 19, 2026
b3d6325
chore: add favicon to docs
MihalyToth20 Jan 25, 2026
6e1eee5
chore: add plan for native bundle
MihalyToth20 Jan 25, 2026
34ff17b
feat: add opencode as subcommand
MihalyToth20 Jan 25, 2026
1460b56
feat: enhance native host with banner and useful links
MihalyToth20 Jan 26, 2026
3a1d9f3
feat: native-host-setup scripts
MihalyToth20 Jan 27, 2026
135f394
feat: opencode wrapper for native host for the extension
MihalyToth20 Jan 27, 2026
8f76b1b
chore: commit interim state, which seems to make sense and work
MihalyToth20 Jan 27, 2026
705af4b
chore: add test config js file example
MihalyToth20 Jan 28, 2026
1e89331
chore: cleanup of the installer scripts, unified installer scripts
MihalyToth20 Jan 28, 2026
d611666
chore: help command cleanup, add skills.md
MihalyToth20 Feb 2, 2026
c052d05
chore: oc remote config loading, styling overhaul
MihalyToth20 Feb 2, 2026
ff6cdb9
chore: include a meaningful set of xano-knowledgeable instructions fo…
MihalyToth20 Feb 2, 2026
ac87714
chore: mark xano-expert agent as primary
MihalyToth20 Feb 2, 2026
ac0b0bd
chore: model update for xano-expert
MihalyToth20 Feb 2, 2026
3b5eba1
chore: attribution to OpenCode
MihalyToth20 Feb 2, 2026
0e601d9
chore: add context7 ownership verification
MihalyToth20 Feb 2, 2026
7fb6592
chore: test run feature improvements: examples, environment handling,…
MihalyToth20 Feb 2, 2026
5e3fcf4
Delete file
MihalyToth20 Feb 2, 2026
952fe3d
chore: gitignore
MihalyToth20 Feb 2, 2026
fae8693
chore: fix documetnation inconsistencies
MihalyToth20 Feb 2, 2026
2968c17
chore: docs overhaul, add guides (initial versions)
MihalyToth20 Feb 2, 2026
f63ab7e
chore: docs update and added guides
MihalyToth20 Feb 2, 2026
f0d190c
feat: add xano best practice skills, on supabase pattern, update xano…
MihalyToth20 Feb 4, 2026
913c5db
chore: review oc templates
MihalyToth20 Feb 4, 2026
bca3d08
chore: security cleanup
MihalyToth20 Feb 4, 2026
cee9320
chore: include guide for oc commands as well
MihalyToth20 Feb 4, 2026
5849375
Merge branch 'feat/native-host' into dev
MihalyToth20 Feb 4, 2026
4ed2b4f
chore: init oc
MihalyToth20 Jan 19, 2026
e52b672
chore: add the registry refactor plan
MihalyToth20 Jan 19, 2026
545b85b
refactor: move the registry add logic to the core from CLI
MihalyToth20 Jan 19, 2026
531eff1
chore: address review comments
MihalyToth20 Jan 19, 2026
3572442
chore: add browser consumer plan
MihalyToth20 Jan 19, 2026
762db67
init: first browser-config draft
MihalyToth20 Jan 19, 2026
eb6dd5d
chore: add favicon to docs
MihalyToth20 Jan 25, 2026
be8ef3e
chore: add plan for native bundle
MihalyToth20 Jan 25, 2026
202a9eb
feat: add opencode as subcommand
MihalyToth20 Jan 25, 2026
51ff0de
feat: enhance native host with banner and useful links
MihalyToth20 Jan 26, 2026
2ceaaf0
feat: native-host-setup scripts
MihalyToth20 Jan 27, 2026
7e68290
feat: opencode wrapper for native host for the extension
MihalyToth20 Jan 27, 2026
0d2167c
chore: commit interim state, which seems to make sense and work
MihalyToth20 Jan 27, 2026
4680ee5
chore: add test config js file example
MihalyToth20 Jan 28, 2026
5ffe083
chore: cleanup of the installer scripts, unified installer scripts
MihalyToth20 Jan 28, 2026
190bf88
chore: help command cleanup, add skills.md
MihalyToth20 Feb 2, 2026
63d93ac
chore: oc remote config loading, styling overhaul
MihalyToth20 Feb 2, 2026
c5745b3
chore: include a meaningful set of xano-knowledgeable instructions fo…
MihalyToth20 Feb 2, 2026
34428cf
chore: mark xano-expert agent as primary
MihalyToth20 Feb 2, 2026
0051b30
chore: model update for xano-expert
MihalyToth20 Feb 2, 2026
297fb94
chore: attribution to OpenCode
MihalyToth20 Feb 2, 2026
ecc3d9f
chore: add context7 ownership verification
MihalyToth20 Feb 2, 2026
3383c84
chore: test run feature improvements: examples, environment handling,…
MihalyToth20 Feb 2, 2026
c637ed4
chore: gitignore
MihalyToth20 Feb 2, 2026
fca056a
chore: fix documetnation inconsistencies
MihalyToth20 Feb 2, 2026
404547e
chore: docs overhaul, add guides (initial versions)
MihalyToth20 Feb 2, 2026
fdb8773
chore: docs update and added guides
MihalyToth20 Feb 2, 2026
55b0579
feat: add xano best practice skills, on supabase pattern, update xano…
MihalyToth20 Feb 4, 2026
697ba8c
chore: review oc templates
MihalyToth20 Feb 4, 2026
79b7543
chore: security cleanup
MihalyToth20 Feb 4, 2026
af64fd5
chore: include guide for oc commands as well
MihalyToth20 Feb 4, 2026
5fd2689
Merge branch 'dev' of https://github.com/MihalyToth20/xano-community-…
MihalyToth20 Feb 4, 2026
184011f
Initial plan
Copilot Feb 7, 2026
1d0c92a
docs: add prioritized PR review issues document
Copilot Feb 7, 2026
38c2d3c
docs: add prioritized PR review issues analysis (#185)
MihalyToth20 Feb 7, 2026
43bb02f
chore: ensure we kill opencode when browser stops
MihalyToth20 Feb 7, 2026
ced4434
fix: review comments
MihalyToth20 Feb 7, 2026
1970010
fix: resolve 33 unresolved review comments from PR #184 (#186)
Copilot Feb 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/dull-facts-lose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@calycode/core": minor
"@calycode/cli": minor
---

feat: include OpenCode AI agentic tooling into the CLI
7 changes: 7 additions & 0 deletions .changeset/forty-phones-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@repo/types": patch
"@calycode/core": patch
"@calycode/cli": patch
---

chore: move the registry item installation into the core
6 changes: 6 additions & 0 deletions .changeset/large-bugs-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@calycode/xano-skills": minor
"@calycode/cli": minor
---

feat: initial skills setup for the @calycode/cli
5 changes: 5 additions & 0 deletions .changeset/light-crabs-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@calycode/cli": patch
---

chore: styling revamp of the help commands
7 changes: 7 additions & 0 deletions .changeset/loose-pandas-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@repo/types": patch
"@calycode/core": patch
"@calycode/cli": patch
---

chore: updates to testing, to have robust env support, and better documentation
Copy link
Contributor

@coderabbitai coderabbitai bot Feb 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Changeset description doesn't match PR objectives.

The description states "chore: updates to testing, to have robust env support, and better documentation", but the PR title is "refactor: move registry item installation to the core". The description should accurately reflect the primary changes: moving registry installation logic from CLI to core, introducing new registry APIs, and refactoring the CLI to delegate to core.

📝 Suggested description rewrite
-chore: updates to testing, to have robust env support, and better documentation
+refactor: move registry item installation logic to core package
+
+Relocates registry installation functionality from CLI to core, adding new APIs for registry index fetching, item retrieval, and Xano installation. The CLI now delegates to core for registry operations. Also includes enhancements to testing, environment support, and documentation.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
chore: updates to testing, to have robust env support, and better documentation
refactor: move registry item installation logic to core package
Relocates registry installation functionality from CLI to core, adding new APIs for registry index fetching, item retrieval, and Xano installation. The CLI now delegates to core for registry operations. Also includes enhancements to testing, environment support, and documentation.
🤖 Prompt for AI Agents
In @.changeset/loose-pandas-hide.md at line 7, Update the changeset description
to reflect the actual PR intent: replace the generic "chore: updates to testing,
to have robust env support, and better documentation" with a summary that states
the refactor moves registry item installation from the CLI into the core,
introduces new registry APIs (core registry installation and registry-related
functions) and updates the CLI to delegate installation to core; mention any
breaking behavior or migration notes for users of the CLI/registry APIs and keep
the tone as a concise changelog entry matching the PR title "refactor: move
registry item installation to the core".

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Create updated chabgeset files according to the available commit messages and changed files (we forgot to properly update the changesets along the way)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧩 Analysis chain

@MihalyToth20 Good plan! I can help you review the commit messages to identify what changesets should be created. Let me gather the commit history from this PR.


🏁 Script executed:

#!/bin/bash
# Get the list of commits in the PR branch that are not in main
git log --oneline main..dev

echo ""
echo "=== Detailed commit messages ==="
git log --format="%H%n%s%n%b%n---" main..dev | head -100

Length of output: 413


🏁 Script executed:

#!/bin/bash
# Get commits from the PR using GitHub CLI
gh pr view 184 --json commits --jq '.commits[] | "[\(.oid[0:7])] \(.messageHeadline)\n\(.messageBody)"'

echo ""
echo "=== Files changed in PR ==="
gh pr view 184 --json files --jq '.files[] | .path' | sort

Length of output: 7658


🏁 Script executed:

#!/bin/bash
# Read all changeset files to see what's already documented
echo "=== Existing Changeset Files ==="
for file in .changeset/*.md; do
  if [[ "$file" != *"README"* ]] && [[ -f "$file" ]]; then
    echo ""
    echo "--- $(basename "$file") ---"
    cat "$file"
  fi
done

Length of output: 1207


@MihalyToth20 Great! I've analyzed the commits and existing changesets. Here's what I found:

📊 Current Coverage Analysis

Covered by existing changesets:

  • ✅ Registry refactor → forty-phones-rhyme.md (correctly describes the PR title)
  • ✅ OpenCode/native host features → dull-facts-lose.md
  • ✅ Skills features → large-bugs-drop.md + ten-regions-switch.md
  • ✅ Help command styling → light-crabs-march.md
  • ✅ Registry graceful exit → plain-ways-fall.md
  • ✅ Remote Xano templates → spicy-bags-guess.md
  • ⚠️ Test/env/docs improvements → loose-pandas-hide.md (needs better description)

❌ Missing changeset:

  • Browser consumer package (@calycode/browser-consumer) - This is a new package with significant changes but no changeset!

🔧 Recommended Actions

1. Create new changeset for browser-consumer

The new packages/browser-consumer/ package (IndexedDB config storage for browser extensions) needs its own changeset:

---
"@calycode/browser-consumer": minor
---

feat: add browser-consumer package for IndexedDB-based config storage

Introduces a new package to support browser extensions with IndexedDB utilities and config storage capabilities.

2. Update loose-pandas-hide.md description

Replace the generic description with something more specific:

chore: enhance test runner with environment handling, add test examples and improve documentation

Improves test configuration with robust environment variable support, adds test config examples, and updates documentation guides for testing, git workflow, patterns, scaffolding, and xanoscript.

3. Consider consolidating skills changesets

You have two skills-related changesets (large-bugs-drop.md and ten-regions-switch.md). Consider whether these should be one changeset or if they represent distinct features.

Would you like me to help draft the complete updated changeset files?

5 changes: 5 additions & 0 deletions .changeset/plain-ways-fall.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@calycode/cli": patch
---

fix: have graceful exit when no component is selected from registry
5 changes: 5 additions & 0 deletions .changeset/spicy-bags-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@calycode/cli": minor
---

feat: load specialized Xano-related agents / templates from remote source to the oc config and use that, without polluting the global oc setup
5 changes: 5 additions & 0 deletions .changeset/ten-regions-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@calycode/cli": patch
---

feat: add first draft of Skills for the CLI
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,10 @@ calyInstance.test.setup.json
.turbo

# Jest
coverage/
coverage/

# Native binary assets
**/*/.sea-cache/

# Xano's ai supporting assets:
util-resources/xano-agentic-setups/
122 changes: 122 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,127 @@ This project provides a suite of tools to improve developer experience with Xano

---

## Build, Lint, and Test Commands

### Build Commands
- **Full build**: `pnpm build` - Builds all packages using TurboRepo
- **Clean build**: `pnpm clean && pnpm build` - Clean and rebuild everything
- **Documentation build**: `pnpm build:docs` - Build docs and CLI reference

### Test Commands
- **All tests**: `pnpm test` - Run all tests across packages
- **Watch mode**: `pnpm test:watch` - Run tests in watch mode
- **Coverage**: `pnpm test:coverage` - Run tests with coverage reporting
- **Single test file**: `pnpm test <path-to-test-file>` - Run specific test file
- **Test pattern**: `pnpm test -- --testNamePattern="pattern"` - Run tests matching pattern
- **Single package tests**: `cd packages/<package> && pnpm test` - Run tests for specific package

### Lint Commands
- **Lint all**: `pnpm lint` - Run ESLint across all packages
- **Lint single package**: `cd packages/<package> && pnpm lint` - Lint specific package
- **Auto-fix**: `pnpm lint --fix` - Auto-fix linting issues where possible

### Type Check Commands
- **Type check all**: `turbo run build` - TypeScript compilation checks types
- **Type check single package**: `cd packages/<package> && pnpm build` - Check types for package

## Code Style Guidelines

### Language and Environment
- **TypeScript**: Strict mode disabled (`strict: false`) but with recommended rules
- **Target**: ES2020 modules
- **Module resolution**: Bundler mode
- **Node.js**: >= 18.0.0 required

### Imports and Dependencies
- **Import order**: Group by builtin → external → internal (enforced by ESLint)
- **Import extensions**: Never use extensions for `.ts`/`.tsx` files (ESLint enforced)
- **Workspace imports**: Use `@repo/types`, `@repo/utils` for internal packages
- **No unresolved imports**: All imports must resolve (ESLint error)

### Naming Conventions
- **Variables/Functions**: camelCase
- **Classes/Types/Interfaces**: PascalCase
- **Constants**: UPPER_SNAKE_CASE
- **Files**: kebab-case for directories, camelCase for files
- **API Groups**: Normalized using kebab-case with special characters removed

### Code Formatting
- **No Prettier config**: Use default Prettier formatting
- **Line endings**: LF (Unix)
- **Indentation**: 3 spaces (default Prettier)
- **Quotes**: Single quotes preferred (default Prettier)
- **Semicolons**: Required (default Prettier)

### TypeScript Specific
- **Explicit types**: Prefer explicit typing over `any`
- **Avoid `any`**: Warn level ESLint rule for `@typescript-eslint/no-explicit-any`
- **Unused variables**: Warn level ESLint rule
- **Interface vs Type**: Use interfaces for object shapes, types for unions/aliases
- **Generic constraints**: Use extends for generic constraints
- **Optional properties**: Use `?:` for optional properties

### Error Handling
- **Try/catch blocks**: Use for async operations
- **Error messages**: Provide clear, actionable error messages
- **Graceful exits**: Use `withErrorHandler` utility for CLI commands
- **Process signals**: Handle SIGINT/SIGTERM for clean shutdowns
- **Logging**: Use `@clack/prompts` for user-facing messages

### Documentation
- **JSDoc comments**: Required for public APIs and complex functions
- **Example usage**: Include in JSDoc for CLI methods
- **Parameter descriptions**: Document all parameters with types
- **Return types**: Document return values and their structure
- **TODO comments**: Use `// [ ] TODO:` format for future work

### File Organization
- **Barrel exports**: Use `index.ts` files for clean imports
- **Feature grouping**: Group related functionality in feature directories
- **Separation of concerns**: CLI, core logic, types, and utilities in separate packages
- **Implementation files**: Keep business logic separate from CLI interfaces

### Testing
- **Test framework**: Jest with ts-jest transformer
- **Test files**: `.test.ts` or `.spec.ts` extension
- **Test configuration**: JSON-based config files for API testing
- **Test environment**: Node.js environment
- **Coverage**: Use `jest-html-reporter` for HTML coverage reports
Comment on lines +136 to +140
Copy link
Contributor

@coderabbitai coderabbitai bot Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Update outdated statement about test files.

Line 137 states "currently no test files exist", but this PR adds test files (e.g., api.spec.ts, general.spec.ts). Update this statement to reflect the current state.

Suggested fix
-- **Test files**: `.test.ts` extension (currently no test files exist)
+- **Test files**: `.test.ts` or `.spec.ts` extension
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- **Test framework**: Jest with ts-jest transformer
- **Test files**: `.test.ts` extension (currently no test files exist)
- **Test configuration**: JSON-based config files for API testing
- **Test environment**: Node.js environment
- **Coverage**: Use `jest-html-reporter` for HTML coverage reports
- **Test framework**: Jest with ts-jest transformer
- **Test files**: `.test.ts` or `.spec.ts` extension
- **Test configuration**: JSON-based config files for API testing
- **Test environment**: Node.js environment
- **Coverage**: Use `jest-html-reporter` for HTML coverage reports
🤖 Prompt for AI Agents
In `@AGENTS.md` around lines 136 - 140, Update the "Test files" bullet in
AGENTS.md to remove "currently no test files exist" and reflect that test files
have been added (e.g., rename the extension example to `.spec.ts` or mention
existing files like `api.spec.ts` and `general.spec.ts`); modify the "Test
files" line so it accurately describes the current test files and extensions
instead of stating none exist.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: update test-related comments / documentation

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MihalyToth20, sounds good! Since you're planning to update the test-related documentation later, would you like me to create an issue to track this TODO? It would help ensure the documentation update doesn't get forgotten.


🧠 Learnings used
Learnt from: CR
Repo: calycode/xano-tools PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-11-28T05:59:33.267Z
Learning: Applies to **/*.test.ts?(x) : Use Jest for testing across all packages


### Security
- **Secrets handling**: Never commit API keys or tokens
- **Environment variables**: Use `XANO_*` prefix for test environment variables
- **Token storage**: Secure storage implementation required
- **Input validation**: Validate all user inputs and API responses

### Performance
- **Bundle optimization**: Use esbuild for fast builds
- **Tree shaking**: Enabled through Rollup configuration
- **Lazy loading**: Consider for large features
- **Memory management**: Clean up event listeners and resources

### Git and Version Control
- **Commit messages**: Follow conventional commit format
- **Branching**: Feature branches for development
- **PR reviews**: Required for all changes
- **CI/CD**: Automated testing and building on PRs
- **Versioning**: Changesets for semantic versioning

## IDE and Editor Configuration

### VS Code Extensions (Recommended)
- TypeScript and JavaScript Language Features
- ESLint
- Prettier - Code formatter
- PNPM workspace support

### Cursor Rules
No specific Cursor rules found in `.cursor/` or `.cursorrules`.

### Copilot Instructions
No Copilot instructions found in `.github/copilot-instructions.md`.

---

- See also `docs/README.md` and `docs/commands` for command reference.
- Key configuration in `.changeset/`, `schemas/registry/`, and package-level config files.
18 changes: 14 additions & 4 deletions context7.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://context7.com/schema/context7.json",
"projectTitle": "@calycode/cli",
"description": "Community-driven CLI tool for Xano Backend, to automate documentation generation, version control, testing and so much more.",
"description": "Community-driven CLI tool for Xano Backend, to automate documentation generation, version control, testing, component registries and so much more.",
"branch": "main",
"excludeFolders": [
"scripts",
Expand All @@ -16,6 +16,16 @@
"Use when required to run commands to backup a xano workspace",
"Use when extracting xanoscript from Xano workspace",
"Use when generating improved OpenAPI specification from Xano workspace",
"Use when needed to generate client side code for a Xano backend"
]
}
"Use when needed to generate client side code for a Xano backend",
"Use when creating reusable Xano components with the registry system",
"Use when scaffolding new Xano functions, APIs, addons, or other components",
"Use when setting up version control and Git workflow for Xano projects",
"Use when running API tests against Xano endpoints",
"Use when managing component dependencies in Xano registries",
"Use when adding prebuilt components to a Xano instance",
"Use when serving local registries for development and testing",
"Use when generating repository structure from Xano workspace"
],
"url": "https://context7.com/calycode/xano-tools",
"public_key": "pk_SvNGBo5CSXP1iGi7ycgkL"
}
33 changes: 33 additions & 0 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,39 @@
- **context**

- [context show](commands/context-show.md)
- **oc**

- [oc init](commands/oc-init.md)
- **templates**

- [oc templates install](commands/oc-templates-install.md)

- [oc templates update](commands/oc-templates-update.md)

- [oc templates status](commands/oc-templates-status.md)

- [oc templates clear-cache](commands/oc-templates-clear-cache.md)

- [oc serve](commands/oc-serve.md)

- [oc native-host](commands/oc-native-host.md)

- [oc run](commands/oc-run.md)

- **Guides**

- [Getting Started](guides/git-workflow.md)
- [Registry Authoring](guides/registry-authoring.md)
- [Scaffolding Components](guides/scaffolding.md)
- [XanoScript](guides/xanoscript.md)
- [Patterns & Best Practices](guides/patterns.md)
- [API Testing](guides/testing.md)

- **External Resources**

- [Calycode Extension](https://extension.calycode.com)
- [StateChange.ai](https://statechange.ai)
- [Axiom Logging](https://axiom.co)

- Changelog

Expand Down
25 changes: 8 additions & 17 deletions docs/commands/backup-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,12 @@ Backup Xano Workspace via Metadata API
Usage: xano backup export [options]

Options:
--instance <instance>
The instance name. This is used to fetch the instance configuration. The value provided at the setup command.

--workspace <workspace>
The workspace name. This is used to fetch the workspace configuration. Same as on Xano interface.

--branch <branch>
The branch name. This is used to select the branch configuration. Same as on Xano Interface.

--print-output-dir
Expose usable output path for further reuse.

-h, --help
display help for command


Need help? Visit https://github.com/calycode/xano-tools
├─ --instance <instance> The instance name. This is used to fetch the instance configuration. The value provided at the setup command.
├─ --workspace <workspace> The workspace name. This is used to fetch the workspace configuration. Same as on Xano interface.
├─ --branch <branch> The branch name. This is used to select the branch configuration. Same as on Xano Interface.
├─ --print-output-dir Expose usable output path for further reuse.
└─ -h, --help display help for command

Run 'xano <command> --help' for detailed usage.
https://github.com/calycode/xano-tools | https://links.calycode.com/discord
```
19 changes: 6 additions & 13 deletions docs/commands/backup-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,11 @@ Restore a backup to a Xano Workspace via Metadata API. DANGER! This action will
Usage: xano backup restore [options]

Options:
--instance <instance>
The instance name. This is used to fetch the instance configuration. The value provided at the setup command.
├─ --instance <instance> The instance name. This is used to fetch the instance configuration. The value provided at the setup command.
├─ --workspace <workspace> The workspace name. This is used to fetch the workspace configuration. Same as on Xano interface.
├─ -S, --source-backup <file> Local path to the backup file to restore.
└─ -h, --help display help for command

--workspace <workspace>
The workspace name. This is used to fetch the workspace configuration. Same as on Xano interface.

-S, --source-backup <file>
Local path to the backup file to restore.

-h, --help
display help for command


Need help? Visit https://github.com/calycode/xano-tools
Run 'xano <command> --help' for detailed usage.
https://github.com/calycode/xano-tools | https://links.calycode.com/discord
```
18 changes: 6 additions & 12 deletions docs/commands/backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ Backup and restoration operations.
Usage: xano backup [options] [command]

Options:
-h, --help
display help for command
└─ -h, --help display help for command

Commands:
export
Backup Xano Workspace via Metadata API
├─ export Backup Xano Workspace via Metadata API
├─ restore Restore a backup to a Xano Workspace via Metadata API. DA...
└─ help display help for command

restore
Restore a backup to a Xano Workspace via Metadata API. DANGER! This action will override all business logic and restore the original v1 branch. Data will be also restored from the backup file.

help
display help for command


Need help? Visit https://github.com/calycode/xano-tools
Run 'xano <command> --help' for detailed usage.
https://github.com/calycode/xano-tools | https://links.calycode.com/discord
```
7 changes: 3 additions & 4 deletions docs/commands/context-show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ Show the current known context.
Usage: xano context show [options]

Options:
-h, --help
display help for command
└─ -h, --help display help for command


Need help? Visit https://github.com/calycode/xano-tools
Run 'xano <command> --help' for detailed usage.
https://github.com/calycode/xano-tools | https://links.calycode.com/discord
```
14 changes: 5 additions & 9 deletions docs/commands/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ Context related operations.
Usage: xano context [options] [command]

Options:
-h, --help
display help for command
└─ -h, --help display help for command

Commands:
show
Show the current known context.
├─ show Show the current known context.
└─ help display help for command

help
display help for command


Need help? Visit https://github.com/calycode/xano-tools
Run 'xano <command> --help' for detailed usage.
https://github.com/calycode/xano-tools | https://links.calycode.com/discord
```
Loading