Skip to content

A simple cli to run SYNC, QUERY, EXECUTE and DISCONNECT intents for Google Smarthome

Notifications You must be signed in to change notification settings

Spissable/gassi-cli

Repository files navigation

gassi-cli

Run SYNC, QUERY, EXECUTE and DISCONNECT requests easily

TypeScript oclif Biome Jest

Usage

$ npm install -g gassi-cli
$ gassi COMMAND
running command...
$ gassi (-v|--version|version)
gassi-cli/0.2.1 darwin-arm64 node-v20.9.0
$ gassi --help [COMMAND]
USAGE
  $ gassi COMMAND
...

Commands

gassi disconnect

Sends a DISCONNECT request intent

USAGE
  $ gassi disconnect

OPTIONS
  -h, --help         show CLI help
  -t, --token=token  (required) oauth access token
  -u, --uri=uri      (required) uri of the service

See code: src/commands/disconnect.ts

gassi execute [PARAMNAME] [PARAMVALUE]

Sends an EXECUTE request intent

USAGE
  $ gassi execute [PARAMNAME] [PARAMVALUE]

OPTIONS
  -c, --command=command  command to execute
  -h, --help             show CLI help
  -i, --id=id            id to query
  -t, --token=token      (required) oauth access token
  -u, --uri=uri          (required) uri of the service

See code: src/commands/execute.ts

gassi help [COMMAND]

display help for gassi

USAGE
  $ gassi help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

gassi query

Sends a QUERY request intent

USAGE
  $ gassi query

OPTIONS
  -h, --help         show CLI help
  -i, --id=id        id to query
  -t, --token=token  (required) oauth access token
  -u, --uri=uri      (required) uri of the service

See code: src/commands/query.ts

gassi sync

Sends a SYNC request intent

USAGE
  $ gassi sync

OPTIONS
  -h, --help         show CLI help
  -t, --token=token  (required) oauth access token
  -u, --uri=uri      (required) uri of the service

See code: src/commands/sync.ts

About

A simple cli to run SYNC, QUERY, EXECUTE and DISCONNECT intents for Google Smarthome

Resources

Stars

Watchers

Forks

Packages

No packages published