Skip to content

Commit

Permalink
doc: Add hello example
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed May 27, 2024
1 parent 005ed59 commit 8fe06f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/hello/bin/hello
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#/usr/bin/env bash

set -e

sub --name hello --executable "${BASH_SOURCE[0]}" --relative ".." -- "$@"
7 changes: 7 additions & 0 deletions examples/hello/libexec/world
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Summary: Say hello
# Usage: {cmd}

set -e

echo "Hello, world!"

0 comments on commit 8fe06f3

Please sign in to comment.