84 Commits

Author SHA1 Message Date
25962beb02 sequencer - don't create any config if only profiles should be listed 2022-04-21 23:22:21 +02:00
1dfe86e69b sequencer - list profiles (-pl) with filter function 2022-04-21 22:40:59 +02:00
992868b14d sequencer - correct indentation using .editorconfig 2022-03-14 21:31:53 +01:00
44b5482772 sequencer - new options -- (end options) ++ (quick start step 1)
Update template
2022-03-12 15:47:51 +01:00
91327a2973 sequencer - make use of test -n and for finish message 2022-03-09 12:05:05 +01:00
3f93e6a846 Sequencer - sourcing config independent from dry run again 2022-02-26 23:05:29 +01:00
141b16e804 Sequencer - Allow further arguments and steps with '-c' 2022-02-23 12:44:54 +01:00
7c89c99a61 Sequencer - determine system text editor and ask before seq configuration creation 2022-02-23 11:27:47 +01:00
cddfeb43dd Sequencer - Refresh step info output for help and execution context 2022-02-20 21:57:39 +01:00
4dfc6cdce9 Small improvemnt for addConfig() if target does not exist for dry run 2022-02-16 15:18:18 +01:00
dcdb6b45a3 Enhanced exep() incl api help
New helper function escpath() incl api help
2022-02-15 14:00:38 +01:00
637c248b40 Fix case order for outColor() 2022-02-11 10:20:16 +01:00
15ced9d2dc Fix color none not working for outColor() 2022-02-10 11:41:33 +01:00
58a8ec6eae Ability to show sqn_ alias in sequencer help
outColor accepts a custom color number (0-255)
2022-02-09 15:44:22 +01:00
38d635446e Improved separation of step cluster for the help output 2022-01-23 22:38:57 +01:00
1edef40342 Add possibility to -h to display info only for one specified step
New way to display step arguments by moving the cursor around with escape sequences
2022-01-16 23:37:50 +01:00
f1385197d8 New option to execute all steps regardless of continuity 2021-04-21 23:00:36 +02:00
37069952d4 Provide bash-completion an aliases for availale sequences including installation script 2021-04-15 14:54:29 +02:00
b2a851c4af Refactor simple internal variables so that overrides from sequences get more unlicely 2021-04-13 10:09:37 +02:00
64abe2f28f Verifies profile support before executing profile options
New option to list available profiles
2021-04-08 15:19:43 +02:00
75663b3108 Fix -c starting step 1 with -qq if no configuration is available 2021-04-07 10:02:19 +02:00
d2bf4d8677 New function to exit sequence if another instance of it still runs 2021-04-01 14:05:02 +02:00
260daa009c Output error if step_config fails
Small enhancement of the template
2021-03-27 05:33:38 +00:00
65f8ab8dc8 Small template adjustement
New variable SCRIPT_FILE holding script file name
2021-03-24 14:46:53 +01:00
bb7d187d64 Small template extension for APT option -y 2021-03-21 17:22:57 +01:00
8e63bbe7df Sequencer new option to open sequence config file when initialised using initSeqConfig
Sequences with exit in step_config, changed to return to support opening config file on first run
2021-03-19 01:32:59 +01:00
41fd3d3861 Adding colored output support (outColor)
Extended seq template
2021-02-19 14:43:41 +01:00
6dd7c0d00c fix typo 2021-02-02 22:57:28 +01:00
ad18a2b8d5 Fix always setting SEQ_CONFIG_HOME 2021-02-01 22:24:49 +01:00
e0daa360e9 New global variable SEQUENCER_ARGS containing sequencer options to pass down to other seqs eventually 2021-02-01 22:22:15 +01:00
3c132ed4e2 Adding variables CONTEXT_HELP and SEQ_PROFILE_NAME to the API documentation 2021-01-31 22:18:57 +01:00
33775ffb1d Refactored template creation
Fix obsolete escapes in sequencer help output
2021-01-31 19:48:56 +01:00
4c7eae13c4 New function "configuration profiles" for sequencer (initSeqConfig)
Changed usage definition to "cat" instead of echo
2021-01-31 17:33:03 +01:00
370a042c8b Major: Doesn't stop with option -q(q) if now step is given.
Major: Seqs config files are created with permissions 600

Minor: Further reduction of messages when using -qq
2021-01-31 11:20:18 +01:00
d52fb92920 Clustering continous step numbers for better readability 2021-01-20 13:29:57 +01:00
9f262616fb Fix failing step name resolution on singe step execution (-s) 2021-01-12 22:30:51 +01:00
ca169beec6 Added to API documentation 2020-12-27 00:02:33 +01:00
ae83eedec4 Make helper variables local to prefent side effects 2020-12-26 18:09:51 +01:00
0a92b49cc7 Fix continous execution ignoring return values and thous jumping number boundaries 2020-12-23 23:37:33 +01:00
5aba72ee49 Sequencer returns returnvalue of last executed step 2020-09-30 21:46:50 +02:00
7a61dcd718 Refining initSeqConfig function
Option to choose if empty config should be created (Is not by default)
2020-06-04 15:19:17 +02:00
5f26548299 Clarified user output about sourcing config files
Small fix for seq template
2020-03-13 17:43:24 +01:00
f3cd19e22e Fix false logic for config detection in template 2020-02-20 10:56:29 +01:00
cc9fd79693 Don't ask for template creation if sequencer.sh was called directly with -h 2020-01-24 19:45:11 +01:00
60f6d04c3b Fix missing error message for invalid step doing a selection of steps 2020-01-13 17:38:31 +01:00
a657473871 Fix running step_config if first step is invalid
sequencer.sh now returns with last result
2020-01-13 17:18:11 +01:00
0ec36247f7 Use available configuration file if exists in the same directory as the template 2020-01-13 14:12:04 +01:00
4b4df3132a New api function to manage seq configurations (create/use)
Seq template is generated by sequencer.sh; deleting static template
2020-01-13 11:48:15 +01:00
2e6984aac8 New option -qq to suppress regular output
Usefull when step are called from another seq
2020-01-05 15:04:20 +01:00
d369913e9f step() function did not provide argument pass-through 2019-12-31 00:13:54 +01:00