-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better Eol Handling && Install Functionality && Partial Rework of Rea…
…dme (#12) * Reworked config section in readme. Fixed wrong project description. * Added && as eof in examples. * Added pretty print functions for chained commands. * Changed section in readme from installation_instruction to installation-instruction. * Added non functional install command. * Added install functionality. Install command will now execute template rendered command. Fixed error echo/print in main. Added colors to echo/print of success or errors. Added functionality to get_flags_and_options regarding detecting flags and required flags. Added a test config for errors. * Extended test of get_flags_and_options. * Added changelog.
- Loading branch information
1 parent
44e091a
commit a018ef1
Showing
11 changed files
with
146 additions
and
45 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
$schema: https://json-schema.org/draft/2020-12/schema | ||
$id: https://github.com/instructions-d-installation/installation-instruction/tests/data/test_install/install.cfg | ||
name: test-install | ||
type: object | ||
properties: | ||
error_install: | ||
type: boolean | ||
error_template: | ||
type: boolean | ||
default: false | ||
required: | ||
- error_install | ||
- error_template | ||
------ | ||
echo "start" && | ||
{%- if error_install %} | ||
abcdefghijklmnop | ||
{%- endif %} | ||
{%- if error_template %} | ||
{{ raise("error error error") }} | ||
{%- endif %} | ||
echo "end" |
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