-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
591 additions
and
53 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
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
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
get | ||
========== | ||
|
||
Get hog configuration values. | ||
|
||
_This values comes from the file `.hog.yml`_ | ||
|
||
## Syntax | ||
``` | ||
hog get [command] | ||
``` | ||
|
||
## Example | ||
``` | ||
hog get protocol | ||
hog get domain | ||
hog get port | ||
``` | ||
|
||
## Command | ||
|
||
### protocol | ||
|
||
Get protocol value. Should be `http` or `https`. | ||
|
||
#### Syntax | ||
``` | ||
hog get protocol | ||
``` | ||
|
||
### domain | ||
|
||
Get domain value. | ||
|
||
_This is the domain from which the devices are going to reach the server, can be an ip like `192.168.1.101` or a | ||
public domain like `example.com`. This value is used for sharing functionalities_ | ||
|
||
#### Syntax | ||
``` | ||
hog get domain | ||
``` | ||
|
||
### port | ||
|
||
Get port value. | ||
|
||
_This value should be a number_ | ||
|
||
#### Syntax | ||
``` | ||
hog get port | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
set | ||
========== | ||
|
||
Set hog configuration values. | ||
|
||
_This command will update the values in the file `.hog.yml`_ | ||
|
||
## Syntax | ||
``` | ||
hog set [command] | ||
``` | ||
|
||
## Example | ||
``` | ||
hog set protocol http | ||
hog set protocol https | ||
hog set domain localhost | ||
hog set domain 192.168.1.101 | ||
hog set domain example.com | ||
hog set port 3000 | ||
``` | ||
|
||
## Command | ||
|
||
### protocol | ||
|
||
Set protocol value. This value can only be `http` or `https`. | ||
|
||
#### Syntax | ||
``` | ||
hog set protocol http | ||
hog set protocol https | ||
``` | ||
|
||
### domain | ||
|
||
Set domain value. | ||
|
||
_This is the domain from which the devices are going to reach the server, can be an ip like `192.168.1.101` or a | ||
public domain like `example.com`. This value is used for sharing functionalities_ | ||
|
||
#### Syntax | ||
``` | ||
hog set domain localhost | ||
hog set domain 192.168.1.101 | ||
hog set domain example.com | ||
``` | ||
|
||
### port | ||
|
||
Set port value. | ||
|
||
_This value must be a number_ | ||
|
||
#### Syntax | ||
``` | ||
hog set port 3000 | ||
``` |
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
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
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
Oops, something went wrong.