• Stars
    star
    196
  • Rank 198,553 (Top 4 %)
  • Language
    Shell
  • License
    MIT License
  • Created about 6 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

vscode shell script snippet extension

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

Full release Notes

Contribution

Latest release Notes

5.6.1

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