Commit Graph

17 Commits

Author SHA1 Message Date
Jake Champlin
54ba2c025f Allow fs commands to use job-id
Adds `-job` flag argument to `nomad fs` commands to randomly lookup a
job's allocation-id to use in an `fs` command.

Can be used when debugging a job, where a specific allocation ID is not
a strict requirement.
2016-03-18 15:05:35 -04:00
Diptanu Choudhury
3fd9aaafea Always defaulting to prefix match 2016-03-17 17:25:38 -07:00
Diptanu Choudhury
8abc0a92b6 Improved the error related to fs commands 2016-03-10 14:07:33 -08:00
Alex Dadgar
2ef1de9a5e Add human readable output to fs 2016-02-12 15:36:52 -08:00
Alex Dadgar
9d528d3884 Display fs in nomad help and list the subcommands when called 2016-02-05 11:01:29 -08:00
Ranjib Dey
8b88902e9f fix typo in fs-* command usage text 2016-01-31 11:11:06 -08:00
Diptanu Choudhury
8d3cc75f14 Not wrapping the stat errors 2016-01-27 22:08:06 -08:00
Diptanu Choudhury
11de167af1 Changing an error message 2016-01-27 21:43:52 -08:00
Diptanu Choudhury
68269b5f39 Formatting time to RFC822 2016-01-27 14:56:17 -08:00
Diptanu Choudhury
12ffecf021 Added more information about files 2016-01-27 14:20:10 -08:00
Diptanu Choudhury
641dbd9a68 Removing the short option flag 2016-01-27 13:26:12 -08:00
Diptanu Choudhury
bd2cbfce8f Limiting the alloc and eval ids based on short/verbose flags 2016-01-27 12:56:38 -08:00
Diptanu Choudhury
58d0529940 Added the short and verbose options 2016-01-27 12:53:25 -08:00
Diptanu Choudhury
a081fecbfa Changed some comments, cli instructions etc 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
9b3b0f4a7e Added some comments 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
57379e1de8 Implemented prefix matching 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
a2db48ec60 Added an impl for stating a file 2016-01-27 12:53:23 -08:00