starwars-smarttbot
This is a cool CLI for Smarttbot
Last updated 9 months ago by eduardofaria .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install starwars-smarttbot 
SYNC missed versions from official npm registry.

starwars-smarttbot

This is a cool CLI app for Smarttbot's job application

oclif Version

Usage

$ npm install -g starwars-smarttbot
$ starwars COMMAND
running command...
$ starwars (-v|--version|version)
starwars-smarttbot/1.0.7 linux-x64 node-v10.15.0
$ starwars --help [COMMAND]
USAGE
  $ starwars COMMAND
...

Commands

starwars film

Get Films information

USAGE
  $ starwars film

OPTIONS
  -t, --test         Indicates that its a mocha call
  -x, --extended     show extra columns
  --columns=columns  only show provided columns (comma-separated)
  --csv              output is csv format
  --filter=filter    filter property by partial string matching, ex: name=foo
  --id=id            Search for an ID
  --no-header        hide table header from output
  --no-truncate      do not truncate output to fit screen
  --sort=sort        property to sort by (prepend '-' for descending)

DESCRIPTION
  ...
  You can search for all Films in the API, or search for a single one by the ID

EXAMPLES
  $ starwars film
  $ starwars film --id="1"
  $ starwars --filter="title=New"

See code: src/commands/film.js

starwars hello

Say hello for someone, or for everyone!

USAGE
  $ starwars hello

OPTIONS
  -n, --name=name  Name to say hello
  -t, --test       Indicates that its a mocha call

DESCRIPTION
  If you want to say hello for someone, try something like this two examples:

  $ starwars hello -n=Eduardo
  $ starwars hello --name=Eduardo

See code: src/commands/hello.js

starwars help [COMMAND]

display help for starwars

USAGE
  $ starwars help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

starwars people

Get People information

USAGE
  $ starwars people

OPTIONS
  -t, --test         Indicates that its a mocha call
  -x, --extended     show extra columns
  --columns=columns  only show provided columns (comma-separated)
  --csv              output is csv format
  --filter=filter    filter property by partial string matching, ex: name=foo
  --id=id            Search for an ID
  --no-header        hide table header from output
  --no-truncate      do not truncate output to fit screen
  --sort=sort        property to sort by (prepend '-' for descending)

DESCRIPTION
  ...
  You can search for all People in the API, or search for a single one by the ID

EXAMPLES
  $ starwars people
  $ starwars people --id="4"
  $ starwars --filter="name=Luke"

See code: src/commands/people.js

starwars pilot

Search for the best pilots of the galaxy!

USAGE
  $ starwars pilot

OPTIONS
  -n, --name=name  name to print
  -t, --test       Indicates that its a mocha call

DESCRIPTION
  ...
  This command brings pilot's vehicle information, including name and max atmosphering speed

EXAMPLE
  $ starwars pilot

See code: src/commands/pilot.js

starwars planet

Get Planets information

USAGE
  $ starwars planet

OPTIONS
  -t, --test         Indicates that its a mocha call
  -x, --extended     show extra columns
  --columns=columns  only show provided columns (comma-separated)
  --csv              output is csv format
  --filter=filter    filter property by partial string matching, ex: name=foo
  --id=id            Search for an ID
  --no-header        hide table header from output
  --no-truncate      do not truncate output to fit screen
  --sort=sort        property to sort by (prepend '-' for descending)

DESCRIPTION
  ...
  You can search for all Planets in the API, or search for a single one by the ID

EXAMPLES
  $ starwars planet
  $ starwars planet --id="1"
  $ starwars --filter="name=Sand"

See code: src/commands/planet.js

starwars specie

Get Species information

USAGE
  $ starwars specie

OPTIONS
  -t, --test         Indicates that its a mocha call
  -x, --extended     show extra columns
  --columns=columns  only show provided columns (comma-separated)
  --csv              output is csv format
  --filter=filter    filter property by partial string matching, ex: name=foo
  --id=id            Search for an ID
  --no-header        hide table header from output
  --no-truncate      do not truncate output to fit screen
  --sort=sort        property to sort by (prepend '-' for descending)

DESCRIPTION
  ...
  You can search for all Species in the API, or search for a single one by the ID

EXAMPLES
  $ starwars specie
  $ starwars specie --id="3"
  $ starwars --filter="name=Wookie"

See code: src/commands/specie.js

starwars starship

Get Starships information

USAGE
  $ starwars starship

OPTIONS
  -t, --test         Indicates that its a mocha call
  -x, --extended     show extra columns
  --columns=columns  only show provided columns (comma-separated)
  --csv              output is csv format
  --filter=filter    filter property by partial string matching, ex: name=foo
  --id=id            Search for an ID
  --no-header        hide table header from output
  --no-truncate      do not truncate output to fit screen
  --sort=sort        property to sort by (prepend '-' for descending)

DESCRIPTION
  ...
  You can search for all Starships in the API, or search for a single one by the ID

EXAMPLES
  $ starwars starship
  $ starwars starship --id="9"
  $ starwars --filter="name=Death"

See code: src/commands/starship.js

starwars vehicle

Get vehicles information

USAGE
  $ starwars vehicle

OPTIONS
  -t, --test         Indicates that its a mocha call
  -x, --extended     show extra columns
  --columns=columns  only show provided columns (comma-separated)
  --csv              output is csv format
  --filter=filter    filter property by partial string matching, ex: name=foo
  --id=id            Search for an ID
  --no-header        hide table header from output
  --no-truncate      do not truncate output to fit screen
  --sort=sort        property to sort by (prepend '-' for descending)

DESCRIPTION
  ...
  You can search for all vehicles in the API, or search for a single one by the ID

EXAMPLES
  $ starwars vehicle
  $ starwars vehicle --id="4"
  $ starwars --filter="name=Sand"

See code: src/commands/vehicle.js

Current Tags

  • 1.0.9                                ...           latest (9 months ago)

6 Versions

  • 1.0.9                                ...           9 months ago
  • 1.0.8                                ...           9 months ago
  • 1.0.7                                ...           9 months ago
  • 1.0.6                                ...           9 months ago
  • 1.0.2                                ...           9 months ago
  • 1.0.1                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (7)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |