Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Justin Scott

    Replace need for templating. Have editor not trigger unless flagged

    sweatshop config --edit
    sweatshop job example --edit

    create file (and display name):
    sweatshop asdf

    create file and edit:
    sweatshop adsf --edit [editor]

    reset file:
    sweatshop asdf --reset

    reset file and edit:
    sweatshop asdf --edit [editor] --reset

    break create_and_edit into create_file and edit_file
    if edit_file has no editor passed in, default to $EDITOR
    avoid calling if --edit isn't present

    Some ideas for making CLI make more sense: