0.42.0 • Published 2 months ago

@novodream/cli-poc v0.42.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

DReAM

Developer Resources Auto-configuration Manager CLI

Usage

$ npm install -g @novodream/cli-poc
$ dream COMMAND
running command...
$ dream (--version)
@novodream/cli-poc/0.42.0 darwin-arm64 node-v20.11.1
$ dream --help [COMMAND]
USAGE
  $ dream COMMAND
...

Commands

dream add PACKAGE

add a package

USAGE
  $ dream add PACKAGE [-D] [--from <value>]

ARGUMENTS
  PACKAGE  package to add

FLAGS
  -D, --dev           add package as dev dependency
      --from=<value>  id of the project to add the package from

DESCRIPTION
  add a package

EXAMPLES
  $ dream add mongo

See code: src/commands/add.ts

dream delete-env NAME

remove environment variable from workspace

USAGE
  $ dream delete-env NAME -w <value> [-p <value>]

ARGUMENTS
  NAME  name of environment variable

FLAGS
  -p, --project=<value>    project to remove environment variable from
  -w, --workspace=<value>  (required) workspace to remove environment variable from

DESCRIPTION
  remove environment variable from workspace

EXAMPLES
  $ dream delete-env -w dev MY_VAR

  $ dream delete-env -w dev -p my_project_id MY_VAR

See code: src/commands/delete-env.ts

dream down

describe the command here

USAGE
  $ dream down

DESCRIPTION
  describe the command here

EXAMPLES
  $ dream down

See code: src/commands/down.ts

dream help [COMMAND]

Display help for dream.

USAGE
  $ dream 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 dream.

See code: @oclif/plugin-help

dream init [PROJECTID]

initialize dream in a project

USAGE
  $ dream init [PROJECTID] -w <value>

ARGUMENTS
  PROJECTID  project id

FLAGS
  -w, --workspace=<value>  (required) Workspace name

DESCRIPTION
  initialize dream in a project

EXAMPLES
  $ dream init demo-app

See code: src/commands/init.ts

dream login [SERVER]

Login to DReAM server

USAGE
  $ dream login [SERVER] [-t <value>]

ARGUMENTS
  SERVER  [default: https://api.dreampoc.dev] server to login to

FLAGS
  -t, --token=<value>  token to use

DESCRIPTION
  Login to DReAM server

EXAMPLES
  $ dream login https://dreamcloud.io

See code: src/commands/login.ts

dream logout

describe the command here

USAGE
  $ dream logout

DESCRIPTION
  describe the command here

EXAMPLES
  $ dream logout

See code: src/commands/logout.ts

dream plugins

List installed plugins.

USAGE
  $ dream plugins [--json] [--core]

FLAGS
  --core  Show core plugins.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ dream plugins

See code: @oclif/plugin-plugins

dream plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ dream plugins add plugins:install PLUGIN...

ARGUMENTS
  PLUGIN...  Plugin to install.

FLAGS
  -f, --force    Run yarn install with force flag.
  -h, --help     Show CLI help.
  -s, --silent   Silences yarn output.
  -v, --verbose  Show verbose yarn output.

GLOBAL FLAGS
  --json  Format output as json.

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
  $ dream plugins add

EXAMPLES
  $ dream plugins add myplugin 

  $ dream plugins add https://github.com/someuser/someplugin

  $ dream plugins add someuser/someplugin

dream plugins:inspect PLUGIN...

Displays installation properties of a plugin.

USAGE
  $ dream 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
  $ dream plugins inspect myplugin

See code: @oclif/plugin-plugins

dream plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ dream plugins install PLUGIN...

ARGUMENTS
  PLUGIN...  Plugin to install.

FLAGS
  -f, --force    Run yarn install with force flag.
  -h, --help     Show CLI help.
  -s, --silent   Silences yarn output.
  -v, --verbose  Show verbose yarn output.

GLOBAL FLAGS
  --json  Format output as json.

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
  $ dream plugins add

EXAMPLES
  $ dream plugins install myplugin 

  $ dream plugins install https://github.com/someuser/someplugin

  $ dream plugins install someuser/someplugin

See code: @oclif/plugin-plugins

dream plugins:link PLUGIN

Links a plugin into the CLI for development.

USAGE
  $ dream plugins link PLUGIN

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
  $ dream plugins link myplugin

See code: @oclif/plugin-plugins

dream plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ dream plugins remove plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN...  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ dream plugins unlink
  $ dream plugins remove

EXAMPLES
  $ dream plugins remove myplugin

dream plugins reset

Remove all user-installed and linked plugins.

USAGE
  $ dream 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

dream plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ dream plugins uninstall PLUGIN...

ARGUMENTS
  PLUGIN...  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ dream plugins unlink
  $ dream plugins remove

EXAMPLES
  $ dream plugins uninstall myplugin

See code: @oclif/plugin-plugins

dream plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ dream plugins unlink plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN...  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ dream plugins unlink
  $ dream plugins remove

EXAMPLES
  $ dream plugins unlink myplugin

dream plugins update

Update installed plugins.

USAGE
  $ dream plugins update [-h] [-v]

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Update installed plugins.

See code: @oclif/plugin-plugins

dream remove PACKAGE

remove a package

USAGE
  $ dream remove PACKAGE

ARGUMENTS
  PACKAGE  package to remove

DESCRIPTION
  remove a package

EXAMPLES
  $ dream remove mongo

See code: src/commands/remove.ts

dream run CMD

Run arbitrary shell command with dream project env vars

USAGE
  $ dream run CMD... [-D] [-d] [-p] [-t] [-w <value>]

ARGUMENTS
  CMD...  command to run

FLAGS
  -D, --deploy             inject env vars for deploy for deploy packages. Require --terraform flag
  -d, --docker             run with docker run command
  -p, --package            inject env vars for package. Require --terraform flag
  -t, --terraform          run with terraform command
  -w, --workspace=<value>  workspace to run command in. Defaults to current workspace

DESCRIPTION
  Run arbitrary shell command with dream project env vars

EXAMPLES
  $ dream run npm run dev

  $ dream run --docker -- docker run -it -p 8080:8080 my-image

See code: src/commands/run.ts

dream set-env [NAME] [VALUE]

Set environment variable for workspace

USAGE
  $ dream set-env [NAME] [VALUE] -w <value> [-f <value>] [-i] [-p <value>]

ARGUMENTS
  NAME   name of environment variable
  VALUE  value of environment variable

FLAGS
  -f, --from-json-file=<value>  JSON file to load environment variables from for bulk setting
  -i, --non-sensitive           set environment variable as not sensitive
  -p, --project=<value>         project to set environment variable for
  -w, --workspace=<value>       (required) workspace to set environment variable for

DESCRIPTION
  Set environment variable for workspace

EXAMPLES
  $ dream set-env -w dev MY_VAR my_secret_var

  $ dream set-env -w dev --non-sensitive KEY my_value

  $ dream set-env -w dev --from-json-file ./env.json

FLAG DESCRIPTIONS
  -f, --from-json-file=<value>  JSON file to load environment variables from for bulk setting

    The file should be a JSON object with keys representing environment variable names
    and values as objects with a 'value' key and optionally a 'sensitive' key.
    Example:
    {
    "MY_VAR": {
    "value": "my_secret_var",
    "sensitive": true
    },
    "KEY": {
    "value": "my_value"
    },
    "ANOTHER_VAR": {
    "value": "my_value",
    "sensitive": false
    }
    }

See code: src/commands/set-env.ts

dream set-private-key FILE

Set rsa private key for workspace

USAGE
  $ dream set-private-key FILE -w <value>

ARGUMENTS
  FILE  file containing private key in pem format

FLAGS
  -w, --workspace=<value>  (required) workspace to set private key for

DESCRIPTION
  Set rsa private key for workspace

EXAMPLES
  $ dream set-private-key -w dev ./private.pem

See code: src/commands/set-private-key.ts

dream set-public-key FILE

Set rsa public key for workspace

USAGE
  $ dream set-public-key FILE -w <value>

ARGUMENTS
  FILE  file containing public key in pem format

FLAGS
  -w, --workspace=<value>  (required) workspace to set public key for

DESCRIPTION
  Set rsa public key for workspace

EXAMPLES
  $ dream set-public-key -w dev ./public.pem

See code: src/commands/set-public-key.ts

dream up

create all packages resources

USAGE
  $ dream up [-p]

FLAGS
  -p, --production  exclude dev dependencies

DESCRIPTION
  create all packages resources

EXAMPLES
  $ dream up

See code: src/commands/up.ts

0.41.0

2 months ago

0.42.0

2 months ago

0.40.0

2 months ago

0.38.0

8 months ago

0.39.0

7 months ago

0.37.0

8 months ago

0.36.0

12 months ago

0.34.0

12 months ago

0.32.0

12 months ago

0.30.0

1 year ago

0.29.0

1 year ago

0.27.0

1 year ago

0.35.0

12 months ago

0.33.0

12 months ago

0.31.0

12 months ago

0.28.0

1 year ago

0.20.0

1 year ago

0.19.0

1 year ago

0.25.0

1 year ago

0.23.0

1 year ago

0.21.0

1 year ago

0.26.0

1 year ago

0.24.0

1 year ago

0.22.0

1 year ago

0.16.3

2 years ago

0.16.4

2 years ago

0.16.5

2 years ago

0.16.6

2 years ago

0.16.7

2 years ago

0.16.0

2 years ago

0.17.0

2 years ago

0.16.1

2 years ago

0.18.0

2 years ago

0.16.2

2 years ago

0.11.0

2 years ago

0.10.1

2 years ago

0.12.0

2 years ago

0.11.1

2 years ago

0.13.0

2 years ago

0.11.2

2 years ago

0.14.0

2 years ago

0.13.1

2 years ago

0.11.3

2 years ago

0.15.0

2 years ago

0.14.1

2 years ago

0.15.1

2 years ago

0.14.2

2 years ago

0.15.2

2 years ago

0.14.3

2 years ago

0.14.4

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago

0.9.2

2 years ago

0.9.1

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago