Skip to content
/ shellman Public
forked from yousefvand/shellman

vscode shell script snippet extension

License

Notifications You must be signed in to change notification settings

imkgh/shellman

 
 

Repository files navigation

shellman

GitHub release GitHub license GitHub stars GitHub issues GitHub issues

Shell scripting snippet

Learn easy Shell Scripting with Shellman, examples included. Download free ebook (pdf, epub, mobi). Reading the Basics part of the book is strongly recommended if you are new to Shell Scripting.

Read Shellman story on medium (3 min read).

for in range

math square root

fn/fx: simple banner

Instead of language specific syntax, here Shell Scripting, Shellman focuses on programming concepts. These concepts are grouped under namespaces. For example string namespace to name a few contains:

  • concat
  • length
  • reverse
  • toLower
  • toUpper
  • trim
  • ...

to activate desired snippet you need to type string and select desired snippet from listed snippets i.e. string reverse. Using TAB key fill needed info and you are done.

Sometimes doing a job takes more than a snippet. Shellman has ready to use functions to put into your code if you type fn, and selected function usage is available after typing fx. For example the function to create a banner with desired text can be accessed via fn banner simple and to call this function the snippet is fx banner simple. Pass required parameters and a banner with your text would be printed.

List of commands

Latest release Notes

5.6.0

  • shellcheck compatible (99.99%).
  • Added array print snippet.

About

vscode shell script snippet extension

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 50.3%
  • Go 26.4%
  • JavaScript 23.3%