Usage

gwup

Commands for interacting with the Gridworks Uploader

gwup [OPTIONS] COMMAND [ARGS]...

Options

--install-completion

Install completion for the current shell.

--show-completion

Show completion for the current shell, to copy it or customize the installation.

config

Show uploader configuration

gwup config [OPTIONS]

Options

--env-file <env_file>
Default:

''

envfile

Print the default path to the environment file.

gwup envfile [OPTIONS]

gen-test-certs

Generate test certs for the uploader.

gwup gen-test-certs [OPTIONS]

Options

--dry-run, --no-dry-run
Default:

False

--env-file <env_file>
Default:

''

run

Run the uploader.

gwup run [OPTIONS]

Options

--env-file <env_file>
Default:

''

--dry-run, --no-dry-run
Default:

False

--verbose, --no-verbose
Default:

False

--message-summary, --no-message-summary
Default:

False

--aiohttp-verbose, --no-aiohttp-verbose
Default:

False

service

Interact with systemd service for Uploader.

gwup service [OPTIONS] COMMAND [ARGS]...

file

Print services file path

gwup service file [OPTIONS]

Options

--env-file <env_file>
Default:

''

generate

Create systemd services file for the ‘gwup run’ command.

gwup service generate [OPTIONS]

Options

--user <user>
Default:

'pi'

--env-file <env_file>
Default:

''

--force, --no-force
Default:

False

install

Install the systemd service

gwup service install [OPTIONS]

Options

--env-file <env_file>
Default:

''

--dry-run, --no-dry-run
Default:

False

log

Follow the service log

gwup service log [OPTIONS]

Options

--since <since>
Default:

'-1h'

--dry-run, --no-dry-run
Default:

False

reload

Call systemctl daemon-reload

gwup service reload [OPTIONS]

Options

--dry-run, --no-dry-run
Default:

False

restart

Restart systemd service

gwup service restart [OPTIONS]

Options

--dry-run, --no-dry-run
Default:

False

start

Start systemd service

gwup service start [OPTIONS]

Options

--dry-run, --no-dry-run
Default:

False

status

Show status of systemd service

gwup service status [OPTIONS]

Options

--dry-run, --no-dry-run
Default:

False

stop

Stop systemd service

gwup service stop [OPTIONS]

Options

--dry-run, --no-dry-run
Default:

False

uninstall

Uninstall the systemd service

gwup service uninstall [OPTIONS]

Options

--env-file <env_file>
Default:

''

--dry-run, --no-dry-run
Default:

False

stubs

Use stub applications for testing

gwup stubs [OPTIONS] COMMAND [ARGS]...

client

Use stub client

gwup stubs client [OPTIONS] COMMAND [ARGS]...
run

Generate and upload random data to local Gridworks Uploader

gwup stubs client run [OPTIONS]

Options

--num-packets <num_packets>
Default:

1

ingester

Use stub ingester

gwup stubs ingester [OPTIONS] COMMAND [ARGS]...
config

Show stub ingester configuration

gwup stubs ingester config [OPTIONS]

Options

--env-file <env_file>
Default:

''

envfile

Print the default path to the environment file.

gwup stubs ingester envfile [OPTIONS]
gen-test-certs

Generate test certs for the stub ingester.

gwup stubs ingester gen-test-certs [OPTIONS]

Options

--dry-run, --no-dry-run
Default:

False

--env-file <env_file>
Default:

''

run

Run the stub ingester

gwup stubs ingester run [OPTIONS]

Options

--env-file <env_file>
Default:

''

--dry-run, --no-dry-run
Default:

False

--verbose, --no-verbose
Default:

False

--message-summary, --no-message-summary
Default:

False

--log-events, --no-log-events
Default:

False