A new CLI generated with oclif
$ npm install -g @tildacloud/cli
$ tilda COMMAND
running command...
$ tilda (--version)
@tildacloud/cli/0.31.0 darwin-arm64 node-v20.12.2
$ tilda --help [COMMAND]
USAGE
$ tilda COMMAND
...
tilda build
tilda build nextjs
tilda deploy
tilda help [COMMAND]
tilda login
tilda logout
tilda plugins
tilda plugins add PLUGIN
tilda plugins:inspect PLUGIN...
tilda plugins install PLUGIN
tilda plugins link PATH
tilda plugins remove [PLUGIN]
tilda plugins reset
tilda plugins uninstall [PLUGIN]
tilda plugins unlink [PLUGIN]
tilda plugins update
Build the application
USAGE
$ tilda build --apiOrigin <value> --serverDir <value> --projectDir <value> --serverEntryFile <value>
[--json] [--inlineIdentityJson <value>] [--rootStaticDir <value>] [--underscoreNamedStaticDir <value>]
FLAGS
--apiOrigin=<value> (required) [default: https://tilda.net] API origin
--inlineIdentityJson=<value> Private key config. Must be of type { privateKey: string, keyId: number }
--projectDir=<value> (required) Relative path project directory
--rootStaticDir=<value> Relative path to static files directory that will be served from root (/)
--serverDir=<value> (required) Relative path to server files directory
--serverEntryFile=<value> (required) Relative path to server entry file
--underscoreNamedStaticDir=<value> Relative path to static files directory that will be served from relative path
with "." replaced with "_"
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Build the application
See code: src/commands/build/index.ts
Build Next.js project
USAGE
$ tilda build nextjs --apiOrigin <value> --projectDir <value> --buildCommand <value> [--json]
[--inlineIdentityJson <value>]
FLAGS
--apiOrigin=<value> (required) [default: https://tilda.net] API origin
--buildCommand=<value> (required) [default: npm run build] Next.js build command
--inlineIdentityJson=<value> Private key config. Must be of type { privateKey: string, keyId: number }
--projectDir=<value> (required) [default: /Users/raeesbhatti/Projects/TildaCloud/cli] Relative path project
directory
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Build Next.js project
See code: src/commands/build/nextjs/index.ts
Build the application
USAGE
$ tilda deploy --apiOrigin <value> --projectDir <value> --project <value> --site <value> --runtime <value>
[--json] [--inlineIdentityJson <value>]
FLAGS
--apiOrigin=<value> (required) [default: https://tilda.net] API origin
--inlineIdentityJson=<value> Private key config. Must be of type { privateKey: string, keyId: number }
--project=<value> (required) Project slug
--projectDir=<value> (required) [default: .] Relative path to project directory
--runtime=<value> (required) [default: nodejs20.x] Runtime
--site=<value> (required) Site slug
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Build the application
See code: src/commands/deploy/index.ts
Display help for tilda.
USAGE
$ tilda help [COMMAND...] [-n]
ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for tilda.
See code: @oclif/plugin-help
Log in to Tilda
USAGE
$ tilda login --apiOrigin <value> [--json] [--inlineIdentityJson <value>]
FLAGS
--apiOrigin=<value> (required) [default: https://tilda.net] API origin
--inlineIdentityJson=<value> Private key config. Must be of type { privateKey: string, keyId: number }
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Log in to Tilda
See code: src/commands/login/index.ts
Log in to Tilda
USAGE
$ tilda logout --apiOrigin <value> [--json] [--inlineIdentityJson <value>] [--force]
FLAGS
--apiOrigin=<value> (required) [default: https://tilda.net] API origin
--force Force logout
--inlineIdentityJson=<value> Private key config. Must be of type { privateKey: string, keyId: number }
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Log in to Tilda
See code: src/commands/logout/index.ts
List installed plugins.
USAGE
$ tilda plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ tilda plugins
See code: @oclif/plugin-plugins
Installs a plugin into tilda.
USAGE
$ tilda plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into tilda.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the TILDA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the TILDA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ tilda plugins add
EXAMPLES
Install a plugin from npm registry.
$ tilda plugins add myplugin
Install a plugin from a github url.
$ tilda plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ tilda plugins add someuser/someplugin
Displays installation properties of a plugin.
USAGE
$ tilda plugins inspect PLUGIN...
ARGUMENTS
PLUGIN... [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ tilda plugins inspect myplugin
See code: @oclif/plugin-plugins
Installs a plugin into tilda.
USAGE
$ tilda plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into tilda.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the TILDA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the TILDA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ tilda plugins add
EXAMPLES
Install a plugin from npm registry.
$ tilda plugins install myplugin
Install a plugin from a github url.
$ tilda plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ tilda plugins install someuser/someplugin
See code: @oclif/plugin-plugins
Links a plugin into the CLI for development.
USAGE
$ tilda plugins link PATH [-h] [--install] [-v]
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
--[no-]install Install dependencies after linking the plugin.
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ tilda plugins link myplugin
See code: @oclif/plugin-plugins
Removes a plugin from the CLI.
USAGE
$ tilda plugins remove [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ tilda plugins unlink
$ tilda plugins remove
EXAMPLES
$ tilda plugins remove myplugin
Remove all user-installed and linked plugins.
USAGE
$ tilda plugins reset [--hard] [--reinstall]
FLAGS
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
--reinstall Reinstall all plugins after uninstalling.
See code: @oclif/plugin-plugins
Removes a plugin from the CLI.
USAGE
$ tilda plugins uninstall [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ tilda plugins unlink
$ tilda plugins remove
EXAMPLES
$ tilda plugins uninstall myplugin
See code: @oclif/plugin-plugins
Removes a plugin from the CLI.
USAGE
$ tilda plugins unlink [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ tilda plugins unlink
$ tilda plugins remove
EXAMPLES
$ tilda plugins unlink myplugin
Update installed plugins.
USAGE
$ tilda plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins