Thibault Jouan
c8b685b8a3
Fix coding standards
2015-05-12 15:02:44 +00:00
Thibault Jouan
3d361ded86
Refactor Env#logger
2015-04-05 12:47:43 +00:00
Thibault Jouan
433f830c54
Implement recipe arguments
...
CLI will stop arguments processing after the special `--' argument,
the rest will be saved in the env and accessible through a new task
keyword: `recipe_argv'.
2015-04-04 05:25:01 +00:00
Thibault Jouan
3b413a242f
Implement `set?' task keyword:
...
When called from a task, will return true when given key exists and
false when key does not exist.
2014-11-18 16:48:11 +00:00
Thibault Jouan
1465b98f18
Accept a default value for `get' registry keyword
2014-11-18 15:56:25 +00:00
Thibault Jouan
86a84bbe12
Refactor with Forwardable module
2014-11-18 11:20:28 +00:00
Thibault Jouan
e22d0039e1
Implement CLI debug option
2014-10-12 23:45:01 +00:00
Thibault Jouan
2d4e04b2e5
Fail when accessing registry with invalid key
2014-09-26 00:24:19 +00:00
Thibault Jouan
77582ef843
Allow access to registry from conditions
2014-09-25 00:01:03 +00:00
Thibault Jouan
db91eb06cd
Forward standard error stream from remote execution
2014-07-24 17:38:13 +00:00
Thibault Jouan
336003d2d7
Close SSH session before exiting
2014-07-01 19:54:33 +00:00
Thibault Jouan
1188b2008f
Print a warning when in dry run mode
2014-07-01 18:15:55 +00:00
Thibault Jouan
39427c35c3
Refactor and simplify CLI and Env:
...
* Do not modify Env logger from CLI;
* Add verbose attribute to Env;
* Implement Env#verbose?;
* Remove Env#log_level and Env#log_level=;
* Refactor related specs, improve some wording.
2014-05-25 17:44:24 +00:00
Thibault Jouan
87a3ead082
Implement dry run mode
2014-05-25 13:38:47 +00:00
Thibault Jouan
332bb1a416
Improve verbose mode output formatting
2014-05-25 12:14:25 +00:00
Thibault Jouan
024ab7eba0
Integrate a logger attached to our env
2014-05-25 12:12:09 +00:00
Thibault Jouan
88036f0389
Allow Env constructor to accept a remote instance
2014-03-04 04:58:26 +00:00
Thibault Jouan
09f624744b
Fix assignations order in Env#initialize
2014-02-14 18:25:44 +00:00
Thibault Jouan
154ee8d534
Implement a key/value registry at env level
2014-01-21 17:10:42 +00:00
Thibault Jouan
a871bb4009
Implement input handling in Env
2014-01-20 22:27:55 +00:00
Thibault Jouan
22613059f1
Change Env#output as read-only attribute
2014-01-09 01:22:43 +00:00
Thibault Jouan
d670d5dbdd
Replace env.output interface with an IO like object
2013-12-23 23:31:15 +00:00
Thibault Jouan
53db841b2d
Remove Env#current_recipe attribute
2013-08-13 01:36:33 +00:00
Thibault Jouan
9875a4ae7b
Make remote available to env
2013-08-05 20:05:58 +00:00
Thibault Jouan
0cccbc8dde
Add Env#output with $stdout as default
2013-08-04 21:29:13 +00:00
Thibault Jouan
8e455fc4d5
Improve Env constructor
2013-08-04 15:45:08 +00:00
Thibault Jouan
a3bba6d4da
Implement target recipe keyword feature
2013-08-03 23:42:47 +00:00
Thibault Jouan
d199ba56fd
Add Env class
2013-07-30 14:47:56 +00:00