Commit Graph

22 Commits (a37bf9de560aec26019abe0b5c6d8fe03ef09127)

Author SHA1 Message Date
James Phillips 439110f384 Gives RTT class a more Go-like name. 2015-10-23 15:23:01 -07:00
James Phillips fb8900156a Adds a "consul rtt" command. 2015-10-23 15:23:01 -07:00
Joseph Anthony Pasquale Holsten afbf68878c command/configtest: add 2015-05-08 13:09:50 -07:00
Michael S. Fischer 1d5c0a2e0d Handle SIGTERM when running commands
Make Consul treat SIGTERM like it does SIGINT when running commands.
This is especially important when running Consul as a daemon, since
Unix process managers send SIGTERM to restart or terminate a process.

This change is untested on Windows.

Fixes hashicorp/consul#797
2015-03-30 15:32:58 -07:00
Ryan Uber aa8672203c command: starting maint command 2015-01-21 13:00:14 -08:00
Armon Dadgar 06249f0ee6 Adding new command 'lock' 2015-01-19 14:37:58 -10:00
Armon Dadgar 603171df09 Only override version pre-release if blank 2014-11-24 11:05:11 -08:00
Armon Dadgar 7994484dc7 Merge pull request #494 from epankala/version
Update to 'consul version' behaviour
2014-11-24 11:03:00 -08:00
Janne Paenkaelae 3bb03f4c86 Update to 'consul version' behaviour
After e6b6f18172 if consul was built
with just running "go build" the GitDescribe would be empty and consul
version would be empty.

This change alters the behaviour so that if consul is build without
proper ldflags the version will be postfixed with "dev" prerelease to
indicate that it is self compiled in a wrong way.

Should someone have a bug in such a binary at least devs should easily
see from the version number that binary has not been created by
recommended means.
2014-11-23 15:42:08 +00:00
Dan Sosedoff c5033de1bb Fix comment for commands map 2014-11-22 11:44:23 -06:00
Ryan Uber 67d78628a3 command: renamed keys to keyring to disambiguate usage 2014-11-19 16:31:06 -08:00
Ryan Uber ed3562b809 command: add skeletons for keys command 2014-11-19 16:30:21 -08:00
Janne Paenkaelae e6b6f18172 Make the 'consul version' to return value that is from 'git describe --tags' 2014-11-18 22:15:58 +00:00
Armon Dadgar 096e6fc886 command/exec: First pass at exec command 2014-09-01 14:46:21 -07:00
Armon Dadgar 1609030c34 command/event: Adding new event command 2014-08-28 16:40:31 -07:00
Armon Dadgar dc5dee5ce4 command/watch: First pass at command 2014-08-21 16:02:41 -07:00
Armon Dadgar 6ff6f3b213 command/reload: Adding new command 2014-06-11 10:58:26 -07:00
Armon Dadgar 42e3729a7c agent: Add version to info output 2014-06-06 14:40:22 -07:00
Armon Dadgar fcf0b891eb command/info: Adding new info command 2014-02-23 16:59:32 -08:00
Armon Dadgar 356dff3ec6 Adding the various CLI commands 2013-12-31 13:06:33 -08:00
Armon Dadgar d0cfb06d74 Adding agent skeleton 2013-12-19 12:18:06 -08:00
Armon Dadgar 1c5a8d01b1 Adding basic CLI infrastructure 2013-12-19 11:22:08 -08:00