@fly/cli
fly cli
Last updated 2 months ago by michaeldwan .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @fly/cli 
SYNC missed versions from official npm registry.

Fly cli

fly apps

list your apps

USAGE
  $ fly apps

OPTIONS
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/apps/index.js

fly apps:create

create a new app

USAGE
  $ fly apps:create

OPTIONS
  -a, --app=app  The app to run commands against
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/apps/create.js

fly apps:delete

delete an app

USAGE
  $ fly apps:delete

OPTIONS
  -a, --app=app  The app to run commands against
  --env=env      [default: production] environment to use for commands
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/apps/delete.js

fly apps:move

move an new app to another organization

USAGE
  $ fly apps:move

OPTIONS
  -a, --app=app  The app to run commands against
  --env=env      [default: production] environment to use for commands
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/apps/move.js

fly build [PATH]

Build your local Fly app

USAGE
  $ fly build [PATH]

ARGUMENTS
  PATH  [default: .] path to app

OPTIONS
  -a, --app=app        The app to run commands against
  -o, --output=output  (required) [default: .fly/release.tar.gz] Path to output file
  --env=env            [default: production] environment to use for commands

See code: lib/commands/build.js

fly deploy [PATH]

Deploy your local Fly app

USAGE
  $ fly deploy [PATH]

ARGUMENTS
  PATH  [default: /home/vsts/work/1/s/packages/cli] path to app

OPTIONS
  -a, --app=app  The app to run commands against
  --env=env      [default: production] environment to use for commands
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/deploy.js

fly help [COMMAND]

display help for fly

USAGE
  $ fly help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

fly hostnames

list hostnames for an app

USAGE
  $ fly hostnames

OPTIONS
  -a, --app=app  The app to run commands against
  --env=env      [default: production] environment to use for commands
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/hostnames/index.js

fly hostnames:add HOSTNAME

add hostnames to an app

USAGE
  $ fly hostnames:add HOSTNAME

ARGUMENTS
  HOSTNAME  hostname to add

OPTIONS
  -a, --app=app  The app to run commands against
  --env=env      [default: production] environment to use for commands
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/hostnames/add.js

fly login

login to fly

USAGE
  $ fly login

See code: lib/commands/login.js

fly logs

logs for an app

USAGE
  $ fly logs

OPTIONS
  -a, --app=app            The app to run commands against
  -i, --instance=instance  Instance ID to filter
  -r, --region=region      Region to filter
  --env=env                [default: production] environment to use for commands
  --token=token            The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/logs.js

fly new NAME

create a new app

USAGE
  $ fly new NAME

ARGUMENTS
  NAME  app-name

OPTIONS
  -t, --template=template  the template to use

See code: lib/commands/new.js

fly orgs

list your organizations

USAGE
  $ fly orgs

OPTIONS
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/orgs.js

fly releases

list releases for an app

USAGE
  $ fly releases

OPTIONS
  -a, --app=app  The app to run commands against
  --env=env      [default: production] environment to use for commands
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/releases.js

fly secrets

manage app secrets

USAGE
  $ fly secrets

See code: lib/commands/secrets/index.js

fly secrets:set KEY [VALUE]

add secrets to an app

USAGE
  $ fly secrets:set KEY [VALUE]

ARGUMENTS
  KEY    name of the secret
  VALUE  value of the secret

OPTIONS
  -a, --app=app          The app to run commands against
  --env=env              [default: production] environment to use for commands
  --from-file=from-file  use a file's contents as the secret value
  --token=token          The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/secrets/set.js

fly secrets:unset KEY

remove secrets from an app

USAGE
  $ fly secrets:unset KEY

ARGUMENTS
  KEY  name of the secret

OPTIONS
  -a, --app=app  The app to run commands against
  --env=env      [default: production] environment to use for commands
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/secrets/unset.js

fly server [PATH]

run the local fly development server

USAGE
  $ fly server [PATH]

ARGUMENTS
  PATH  [default: /home/vsts/work/1/s/packages/cli] path to app

OPTIONS
  -p, --port=port  [default: 3000] Port to bind to
  --env=env        [default: development] environment to use for commands
  --inspect        use the v8 inspector on your fly app
  --uglify         uglify your code like we'll use in production (warning: slow!)
  --[no-]watch     reload when source or configs change

See code: lib/commands/server.js

fly status

Application status

USAGE
  $ fly status

OPTIONS
  -a, --app=app  The app to run commands against
  --token=token  The api token to use. This will override the token created with `fly login` if present.

See code: lib/commands/status.js

fly test [PATTERN]

run unit tests

USAGE
  $ fly test [PATTERN]

ARGUMENTS
  PATTERN  [default: {test,spec,tests,specs}/**/*.{test,spec}.{js,ts}] test file path pattern

EXAMPLES
  fly test test/**
  fly test __test__/test_file.ts
  fly test test/test_a.ts test/test_b.ts
  fly test test/these/** !but_not_this.js

See code: lib/commands/test.js

Current Tags

  • 0.54.1-api-v2.0                                ...           api (3 months ago)
  • 0.54.2                                ...           latest (2 months ago)
  • 0.54.1-pre.0                                ...           pre (2 months ago)

35 Versions

  • 0.54.2                                ...           2 months ago
  • 0.54.1                                ...           2 months ago
  • 0.54.1-pre.0                                ...           2 months ago
  • 0.54.1-api-v2.0                                ...           3 months ago
  • 0.54.0                                ...           4 months ago
  • 0.54.0-pre.1                                ...           4 months ago
  • 0.54.0-pre.0                                ...           4 months ago
  • 0.53.1                                ...           4 months ago
  • 0.53.1-pre.0                                ...           4 months ago
  • 0.53.0                                ...           4 months ago
  • 0.53.0-pre.2                                ...           4 months ago
  • 0.53.0-pre.1                                ...           4 months ago
  • 0.53.0-pre.0                                ...           4 months ago
  • 0.52.1-pre.0                                ...           4 months ago
  • 0.52.0                                ...           5 months ago
  • 0.52.0-pre.1                                ...           5 months ago
  • 0.52.0-pre.0                                ...           5 months ago
  • 0.51.2                                ...           5 months ago
  • 0.51.1                                ...           5 months ago
  • 0.51.0                                ...           5 months ago
  • 0.50.2-pre.2                                ...           5 months ago
  • 0.50.1-pre.0                                ...           5 months ago
  • 0.50.0                                ...           5 months ago
  • 0.49.2                                ...           5 months ago
  • 0.49.1                                ...           5 months ago
  • 0.49.0                                ...           5 months ago
  • 0.49.0-pre.1                                ...           5 months ago
  • 0.49.0-pre.0                                ...           5 months ago
  • 0.48.1                                ...           5 months ago
  • 0.48.0                                ...           5 months ago
  • 0.48.0-pre.5                                ...           5 months ago
  • 0.48.0-pre.4                                ...           5 months ago
  • 0.48.0-pre.3                                ...           6 months ago
  • 0.48.0-pre.1                                ...           6 months ago
  • 0.48.0-pre.0                                ...           6 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 36
Dependencies (19)
Dev Dependencies (9)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |