FlavioAandres / daily-cli

cli app to help to every developer in charge of support. 🙂
9 stars 2 forks source link
hacktoberfest

daily-cli

oclif Version Downloads/week License

Description

We want to build a set of tools useful for all developers allways thinking in making the developer life easier.

Are you a bored developer in charge of support? We're here for you.

Installation

$ npm install -g daily-cli
$ daily-cli COMMAND
running command...
$ daily-cli (-v|--version|version)
daily-cli/0.0.13-fix-install win32-x64 node-v12.16.2
$ daily-cli --help [COMMAND]
USAGE
  $ daily-cli COMMAND
...
$ npm install -g daily-cli
$ daily-cli COMMAND
running command...
$ daily-cli (-v|--version|version)
daily-cli/0.0.10 darwin-x64 node-v12.16.2
$ daily-cli --help [COMMAND]
USAGE
  $ daily-cli COMMAND
...
$ npm install -g daily-cli

Getting started

Create a file in your system using the following sintax

{
    "interface": {
        "urls": ["https://google.com","https://yahoo.com"]
    },
    "start-day": {
        "urls": ["https://mail.google.com", "https://your-business.slack.com"]
    }
}

Note: each new key added in the config object will be taken as a URL group and this name will be used to run the commands.

To Configure:

$ daily-cli configure --path c:/configs.json

To open all urls

sintax daily-cli run <interface> --task urls you can use -t to run --task

$ daily-cli run elk --task urls

Commands

daily-cli api-generator

Describe the command here

USAGE
  $ daily-cli api-generator

OPTIONS
  -d, --docker     Creates a Docker File in the root project directory
  -k, --knex       Install knex dependency
  -m, --mongo      Install mongodb dependency
  -n, --name=name  API Name
  --metrics        Install @condorlabs/metrics middleware

DESCRIPTION
  ...
  Extra documentation goes here

See code: src\commands\api-generator.js

daily-cli aws-accounts ACTION

Describe the command here

USAGE
  $ daily-cli aws-accounts ACTION

ARGUMENTS
  ACTION  (add|remove|show|to) action that will do the command

OPTIONS
  -k, --key=key        Access Key of the AWS account
  -n, --name=name      Name of the AWS account
  -s, --secret=secret  Secret Access Key of the AWS account

DESCRIPTION
  ...
  Allow administrating your AWS accounts

See code: src\commands\aws-accounts.js

daily-cli configure

Use this command for your first initialization of this module, you can use it to load the urls groups to open it later

USAGE
  $ daily-cli configure

OPTIONS
  -p, --path=path  configuration absolute path file

DESCRIPTION
  Use this command for your first initialization of this module, you can use it to load the urls groups to open it later

  * --path is mandatory
  ...
  Extra documentation goes here https://github.com/FlavioAandres/daily-cli

See code: src\commands\configure.js

daily-cli github ACTION

...

USAGE
  $ daily-cli github ACTION

ARGUMENTS
  ACTION  (list|create|delete|configure|create-release) action that will do the command

OPTIONS
  -a, --auto_init=auto_init      Create an initial README.md
  -d, --description=description  Repository description
  -i, --has_issues=has_issues    [default: true] Allow repository issues
  -o, --owner=owner              Repository Owner
  -p, --private=private          Set repository private
  -r, --repository=repository    Repository name
  -t, --is_template=is_template  Set repository as a template
  -w, --has_wiki=has_wiki        [default: true] Allow repository wiki
  --gitignore=gitignore          Set a gitignore template
  --has_projects=has_projects    [default: true] Allow repository project

DESCRIPTION
  ...
     Github automatizated!!.

     > Set up your github token first: daily-cli github configure

     Generate your token on this way 
  https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token
     Required access: repo & delete_repo

See code: src\commands\github.js

daily-cli go-to ACTION

...

USAGE
  $ daily-cli go-to ACTION

ARGUMENTS
  ACTION  (add|list) action that will do the command

DESCRIPTION
  ...
     Path Automatization!!.

     > Go through multiple paths with the CLI

See code: src\commands\go-to.js

daily-cli health

Describe the command here

USAGE
  $ daily-cli health

OPTIONS
  -h, --help                 show CLI help
  -i, --incidents=incidents  [default: 3] Number of latest incidents on the current services

  -s, --services=services    [default: github,trello] name of services to check like {github,trello} (separated by
                             `<space>`)

  -v, --version              show CLI version

DESCRIPTION
  ...
  It's a simple command for check health status about external services. 🙌

  currently just supporting: 
  - Github
  - Trello

EXAMPLES
  $ health 
  $ health -s github trello

See code: src\commands\health.js

daily-cli hello

Describe the command here

USAGE
  $ daily-cli hello

OPTIONS
  -n, --name=name  name to print

DESCRIPTION
  ...
  Extra documentation goes here

EXAMPLE
  $ daily-cli hello --name pecue

See code: src\commands\hello.js

daily-cli help [COMMAND]

display help for daily-cli

USAGE
  $ daily-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

daily-cli run

Describe the command here

USAGE
  $ daily-cli run

OPTIONS
  -t, --task=task  task to execute

DESCRIPTION
  ...
  Extra documentation goes here

See code: src\commands\run.js

daily-cli api-generator

Describe the command here

USAGE
  $ daily-cli api-generator

OPTIONS
  -d, --docker     Creates a Docker File in the root project directory
  -k, --knex       Install knex dependency
  -m, --mongo      Install mongodb dependency
  -n, --name=name  API Name
  --metrics        Install @condorlabs/metrics middleware

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/api-generator.js

daily-cli aws-accounts ACTION

Describe the command here

USAGE
  $ daily-cli aws-accounts ACTION

ARGUMENTS
  ACTION  (add|remove|show|to) action that will do the command

OPTIONS
  -k, --key=key        Access Key of the AWS account
  -n, --name=name      Name of the AWS account
  -s, --secret=secret  Secret Access Key of the AWS account

DESCRIPTION
  ...
  Allow administrating your AWS accounts

See code: src/commands/aws-accounts.js

daily-cli configure

Use this command for your first initialization of this module, you can use it to load the urls groups to open it later

USAGE
  $ daily-cli configure

OPTIONS
  -p, --path=path  configuration absolute path file

DESCRIPTION
  Use this command for your first initialization of this module, you can use it to load the urls groups to open it later

  * --path is mandatory
  ...
  Extra documentation goes here https://github.com/FlavioAandres/daily-cli

See code: src/commands/configure.js

daily-cli github ACTION

...

USAGE
  $ daily-cli github ACTION

ARGUMENTS
  ACTION  (list|create|delete|configure|create-release) action that will do the command

OPTIONS
  -a, --auto_init=auto_init      Create an initial README.md
  -d, --description=description  Repository description
  -i, --has_issues=has_issues    [default: true] Allow repository issues
  -o, --owner=owner              Repository Owner
  -p, --private=private          Set repository private
  -r, --repository=repository    Repository name
  -t, --is_template=is_template  Set repository as a template
  -w, --has_wiki=has_wiki        [default: true] Allow repository wiki
  --gitignore=gitignore          Set a gitignore template
  --has_projects=has_projects    [default: true] Allow repository project

DESCRIPTION
  ...
     Github automatizated!!.

     > Set up your github token first: daily-cli github configure

     Generate your token on this way 
  https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token
     Required access: repo & delete_repo

See code: src/commands/github.js

daily-cli go-to ACTION

...

USAGE
  $ daily-cli go-to ACTION

ARGUMENTS
  ACTION  (add|list) action that will do the command

DESCRIPTION
  ...
     Path Automatization!!.

     > Go through multiple paths with the CLI

See code: src/commands/go-to.js

daily-cli health

Describe the command here

USAGE
  $ daily-cli health

OPTIONS
  -h, --help                 show CLI help
  -i, --incidents=incidents  [default: 3] Number of latest incidents on the current services

  -s, --services=services    [default: github,trello] name of services to check like {github,trello} (separated by
                             `<space>`)

  -v, --version              show CLI version

DESCRIPTION
  ...
  It's a simple command for check health status about external services. 🙌

  currently just supporting: 
  - Github
  - Trello

EXAMPLES
  $ health 
  $ health -s github trello

See code: src/commands/health.js

daily-cli hello

Describe the command here

USAGE
  $ daily-cli hello

OPTIONS
  -n, --name=name  name to print

DESCRIPTION
  ...
  Extra documentation goes here

EXAMPLE
  $ daily-cli hello --name pecue

See code: src/commands/hello.js

daily-cli help [COMMAND]

display help for daily-cli

USAGE
  $ daily-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

daily-cli run

Describe the command here

USAGE
  $ daily-cli run

OPTIONS
  -t, --task=task  task to execute

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/run.js