0.1.0 • Published 3 years ago
@logline/cli v0.1.0
oclif-hello-world
oclif example Hello World CLI
Usage
$ npm install -g @logline/cli
$ logline COMMAND
running command...
$ logline (--version)
@logline/cli/0.1.0 darwin-arm64 node-v18.12.1
$ logline --help [COMMAND]
USAGE
$ logline COMMAND
...Commands
logline help [COMMANDS]logline loginlogline pluginslogline plugins:install PLUGIN...logline plugins:inspect PLUGIN...logline plugins:install PLUGIN...logline plugins:link PLUGINlogline plugins:uninstall PLUGIN...logline plugins:uninstall PLUGIN...logline plugins:uninstall PLUGIN...logline plugins updatelogline serviceslogline synclogline tail
logline help [COMMANDS]
Display help for logline.
USAGE
$ logline help [COMMANDS] [-n]
ARGUMENTS
COMMANDS Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for logline.See code: @oclif/plugin-help
logline login
Login and persist credentials to .netrc
USAGE
$ logline login [-u <value>]
FLAGS
-u, --user=<value> Username of the user to login
DESCRIPTION
Login and persist credentials to .netrc
EXAMPLES
$ logline login
$ logline login --user myusername
$ logline login -u myusernameSee code: dist/commands/login/index.ts
logline plugins
List installed plugins.
USAGE
$ logline plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ logline pluginsSee code: @oclif/plugin-plugins
logline plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ logline plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ logline plugins add
EXAMPLES
$ logline plugins:install myplugin
$ logline plugins:install https://github.com/someuser/someplugin
$ logline plugins:install someuser/somepluginlogline plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ logline plugins:inspect PLUGIN...
ARGUMENTS
PLUGIN [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ logline plugins:inspect mypluginlogline plugins:install PLUGIN...
Installs a plugin into the CLI.
USAGE
$ logline plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ logline plugins add
EXAMPLES
$ logline plugins:install myplugin
$ logline plugins:install https://github.com/someuser/someplugin
$ logline plugins:install someuser/somepluginlogline plugins:link PLUGIN
Links a plugin into the CLI for development.
USAGE
$ logline plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
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
$ logline plugins:link mypluginlogline plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ logline plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ logline plugins unlink
$ logline plugins removelogline plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ logline plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ logline plugins unlink
$ logline plugins removelogline plugins:uninstall PLUGIN...
Removes a plugin from the CLI.
USAGE
$ logline plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ logline plugins unlink
$ logline plugins removelogline plugins update
Update installed plugins.
USAGE
$ logline plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.logline services
List services for this account
USAGE
$ logline services [-v] [-t]
FLAGS
-t, --trace Output all the log data we can
-v, --verbose Log verbosely
DESCRIPTION
List services for this account
EXAMPLES
$ logline services
$ logline services --verbose
$ logline services -vSee code: dist/commands/services/index.ts
logline sync
Sync a service for this account
USAGE
$ logline sync [-d <value>] [-v] [-t]
FLAGS
-d, --directory=<value> [default: ./.logs] Directory to sync logs to
-t, --trace Output all the log data we can
-v, --verbose Log verbosely
DESCRIPTION
Sync a service for this account
EXAMPLES
$ logline sync
$ logline sync --verbose
$ logline sync -vSee code: dist/commands/sync/index.ts
logline tail
Tail a service for incoming logs
USAGE
$ logline tail [-s <value>]
FLAGS
-s, --service=<value> Service to tail
DESCRIPTION
Tail a service for incoming logs
EXAMPLES
$ logline tail
$ logline tail -s service
$ logline tail --service serviceSee code: dist/commands/tail/index.ts