Skip to content

Commit e784362

Browse files
committed
- Add generate --wrap FUNCTION_NAME option to generate sourcing-friendly output
1 parent 91ccdc6 commit e784362

File tree

21 files changed

+331
-9
lines changed

21 files changed

+331
-9
lines changed

examples/command-default/ftp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

examples/command-groups/ftp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

examples/commands-nested/cli

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

examples/commands/cli

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

examples/config-ini/configly

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

examples/dependencies/cli

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

examples/docker-like/docker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

examples/environment-variables/cli

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

examples/git-like/git

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

examples/multiline/multi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This script was generated by bashly (https://github.com/DannyBen/bashly)
33
# Modifying it manually is not recommended
44

5+
56
# :command.version_command
67
version_command() {
78
echo "$version"

0 commit comments

Comments
 (0)