0.1.0 • Published 4 years ago

arjancli v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

arjancli

Mutli CLI for arjan tools

oclif Version Downloads/week License

Usage

$ npm install -g arjancli
$ arjan COMMAND
running command...
$ arjan (-v|--version|version)
arjancli/0.0.0 linux-x64 node-v12.13.1
$ arjan --help [COMMAND]
USAGE
  $ arjan COMMAND
...

Commands

arjan audit

Describe the command here

USAGE
  $ arjan audit

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

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/audit.js

arjan build [REGION] [PROFILE]

Describe the command here

USAGE
  $ arjan build [REGION] [PROFILE]

ARGUMENTS
  REGION   [default: us-east-1] AWS Region
  PROFILE  [default: default] AWS Profile

OPTIONS
  -a, --audit     builds required files/dirs for arjan audit
  -d, --deploy    builds required files/dirs for arjan deploy
  -l, --localize  builds required files/dirs for arjan localize
  -o, --optimize  builds required files/dirs for arjan optimize

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/build.js

arjan deploy SITE ACTION [SETUP]

Describe the command here

USAGE
  $ arjan deploy SITE ACTION [SETUP]

ARGUMENTS
  SITE    name of the site i.e. yoursite.com

  ACTION  (create|update|import|delete|upload) choose an action to perform. you can create, update, import your stack or
          upload files to your bucket.

  SETUP   (dev|test|prod|custom) [default: dev] setup for the site - dev, test, production or custom

OPTIONS
  -c, --cdn            creates a CloudFront distribution for your site.
  -e, --error=error    [default: error.html] name of the error document

  -h, --https          creates and validates a TLS certificate for your site. If you arent using a route53 DNS you must
                       create a CNAME record manually in your DNS.

  -i, --index=index    [default: index.html] name of the index document. default is index.html

  -r, --route53        creates a Hosted Zone in route 53. Have your current DNS provider page open and ready to add a
                       custom DNS.

  -u, --upload=upload  name of a specific file you want to upload to your site. all uploads all of the files

  -w, --www            creates a www s3 bucket that reroutes requests to the index.

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/deploy.js

arjan hello

Describe the command here

USAGE
  $ arjan hello

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

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/hello.js

arjan help [COMMAND]

display help for arjan

USAGE
  $ arjan help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

arjan optimize [FILENAME]

Describe the command here

USAGE
  $ arjan optimize [FILENAME]

ARGUMENTS
  FILENAME  name of the file i.e. index.html

OPTIONS
  -c, --css     minifiy css using cssnano
  -h, --html    compress html using html-minifier
  -i, --images  compress images and if possible maintain the format. otherwise its converted to png.
  -j, --js      minify js using uglify js

  -w, --webp    saves a webp version of each image, then replaces each image instance in the html files with a picture
                tag.

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/optimize.js

arjan translate FILENAME FROM [TO]

Describe the command here

USAGE
  $ arjan translate FILENAME FROM [TO]

ARGUMENTS
  FILENAME  [default: all] name of the file you want to translate -only html files accepted. Use all to translate all of
            your html files (default).

  FROM      origin language of the file

  TO        desired translation language

OPTIONS
  -b, --backwards  Update JSON locale accoridng to changes made in the HTML file. Must be used together with the update
                   flag.

  -c, --create     Create locales for your html website. if a destination language isnt provided it wont be translated.

  -e, --export     Creates a CSV file for your JSON locale.

  -i, --import     Update JSON locale from changes made in the CSV file

  -u, --update     Update HTML file accoridng to changes made in the JSON locale.

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/translate.js