-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #3. Enable commands to be executed non-interactively
- Loading branch information
1 parent
c121d60
commit 7ee7a15
Showing
1,315 changed files
with
632,692 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ Useful for performing quick reboots or for pulling statistics from the Home Hub. | |
|
||
## Usage | ||
|
||
#### Using the CLI | ||
|
||
Download one of the [releases](https://github.com/jamesnetherton/homehub-cli/releases) for your operating system. | ||
|
||
For *nix and OS X: | ||
|
@@ -21,6 +23,16 @@ For Windows: | |
|
||
You'll need to authenticate against the Home Hub in order to do anything useful. Use the `Login` command to do this. Pressing the `TAB` key shows all of the available commands. | ||
|
||
#### Running indivdual commands | ||
|
||
You can run indivdual commands outside of the CLI shell by specifying the desired function to execute, together with the Home Hub authentication details. | ||
|
||
./homehub-cli Reboot --huburl=http://192.168.1.254 --username=admin --password=bar | ||
|
||
The `huburl` and `username` arguments are defaulted to the standard Home Hub IP address and admin user name. So you can omit these arguments if you want to and just specify the `password`. | ||
|
||
See `./homehub-cli --help` for all options. | ||
|
||
## Building | ||
|
||
git clone [email protected]:jamesnetherton/homehub-cli.git $GOPATH/src/github.com/jamesnetherton/homehub-cli | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.