Skip to content

Commit

Permalink
## Version 1.0.16
Browse files Browse the repository at this point in the history
- Help Cleanup
  • Loading branch information
aho-dips committed Jun 24, 2024
1 parent b87f537 commit 6797973
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 1.0.16
- Help Cleanup

## Version 1.0.15
- Improved upgrade-cli
- Refactored include.sh into smud-main.sh and include.sh
Expand Down
2 changes: 1 addition & 1 deletion smud-cli/functions-conflicts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ print_verbose "**** START: functions-conflicts.sh"
conflicts()
{
if [ "$help" ]; then
echo "${bold}smud conflict(s)${normal} [options]: List conflicts in yaml-files or resolve conflicts in conflictiong files."
echo "${bold}smud conflict(s)${normal} [options]: List conflicts in yaml-files or resolve conflicts in conflictiong files. (Under construction)"
echo ""
echo "Options:"
echo " <no-options>: Scan and list conflicts in yaml-files."
Expand Down
13 changes: 5 additions & 8 deletions smud-cli/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,25 @@ show_valid_commands()
echo " update-cli Download and update the smud CLI. Required ${bold}curl${normal} installed on the computer"
echo " version Show the version-log of smud CLI"
echo " list List products ready for installation or current products installed."
echo " conflict(s) Scan and list conflicts in yaml-files."
echo " conflict(s) Scan and list conflicts in yaml-files. (Under construction)"

if [ ! "$is_smud_dev_repo" ]; then
echo " upgrade Upgrade one or more productst to the repository."
echo " set-upstream Set upstream. If not specfied upstream-url, the https://github.com/DIPSAS/DIPS-GitOps-Template.git will be configured."
echo " upstream Fetch upstream. If upstream-url is not set, the https://github.com/DIPSAS/DIPS-GitOps-Template.git will be configured before upstream is fetched."
echo " init Same as upstream"
echo " set-upstream Set upstream. If upstream-url is not set, the https://github.com/DIPSAS/DIPS-GitOps-Template.git will be configured.\n"
echo " init Fetch upstream. If upstream-url is not set, the https://github.com/DIPSAS/DIPS-GitOps-Template.git will be configured before upstream is fetched."
echo ""
echo "More help:"
echo " > smud version"
echo " > smud set-upstream --help"
echo " > smud init --help"
echo " smud upstream --help"
echo " > smud list --help"
echo " > smud upgrade --help"
echo " > smud list --examples"
else
printf "${gray}Unavaible commands:${normal}\n"
printf " ${gray}upgrade Upgrade one or more productst to the repository.${normal}\n"
printf " ${gray}set-upstream Set upstream. If not specfied upstream-url, the https://github.com/DIPSAS/DIPS-GitOps-Template.git will be configured.\n"
printf " ${gray}upstream Fetch upstream. If upstream-url is not set, the https://github.com/DIPSAS/DIPS-GitOps-Template.git will be configured before upstream is fetched. ${normal}\n"
printf " ${gray}init Same as upstream${normal}\n"
printf " ${gray}set-upstream Set upstream. If upstream-url is not set, the https://github.com/DIPSAS/DIPS-GitOps-Template.git will be configured.\n"
printf " ${gray}init Fetch upstream. If upstream-url is not set, the https://github.com/DIPSAS/DIPS-GitOps-Template.git will be configured before upstream is fetched. ${normal}\n"
fi

}
Expand Down

0 comments on commit 6797973

Please sign in to comment.