Rand Stats

App::Doc-N-Save

zef:grizzlysmit

Doc-N-Save

Table of Contents

NAME

Doc-N-Save

AUTHOR

Francis Grizzly Smit (grizzly@smit.id.au)

VERSION

0.1.14

TITLE

Doc-N-Save

SUBTITLE

A collection of Raku programs for managing modules and apps in Raku, and do things like summit to zef etc.

COPYRIGHT

GPL V3.0+ LICENSE

Top of Document

Introduction

A collection of Raku programs for managing modules and apps in Raku, and do things like summit to zef etc.

doc-n-save.raku

doc-n-save

doc-n-save --help
Usage:
  doc-n-save [-c|--comment=<Str>]
  doc-n-save create config <name> [<additional-pod-files> ...] [-l|--lib=<Str>] [-b|--bin=<Str>] [-e|--exts=<Str>] [-d|--docs=<Str>] [-m|--markdown-path=<Str>] [-o|--only-app] [--separate-markdown-files] [-c|--comment=<Str>]
  doc-n-save prompt create config [<name>] [<additional-pod-files> ...] [-l|--lib=<Str>] [-b|--bin=<Str>] [-e|--exts=<Str>] [-d|--docs=<Str>] [-m|--markdown-path=<Str>] [-o|--only-app] [--separate-markdown-files] [-c|--comment=<Str>]
  doc-n-save explicit <name> [<additional-pod-files> ...] [-l|--lib=<Str>] [-b|--bin=<Str>] [-e|--exts=<Str>] [-d|--docs=<Str>] [-m|--markdown-path=<Str>] [-o|--only-app] [--separate-markdown-files] [-c|--comment=<Str>]

doc-n-save expects to be run from the root directory of the project.

Top of Document

doc-n-save

With no arguments doc-n-save looks for a file called .doc-n-save.json and uses that to set the parameters to generate the docs and then save them to git i.e. commit and push to main/remote repo.

doc-n-save  --help
Usage:
  doc-n-save [-c|--comment=<Str>]

Top of Document

doc-n-save create config

Generates the .doc-n-save.json from the supplied arguments and any Environment.

doc-n-save  --help
Usage:
  doc-n-save create config <name> [<additional-pod-files> ...] [-l|--lib=<Str>] [-b|--bin=<Str>] [-e|--exts=<Str>] [-d|--docs=<Str>] [-m|--markdown-path=<Str>] [-o|--only-app] [--separate-markdown-files] [-c|--comment=<Str>]

Top of Document

doc-n-save prompt create config

Build the .doc-n-save.json file interactively using a menu system.

doc-n-save prompt create config --help
Usage:
  doc-n-save prompt create config [<name>] [<additional-pod-files> ...] [-l|--lib=<Str>] [-b|--bin=<Str>] [-e|--exts=<Str>] [-d|--docs=<Str>] [-m|--markdown-path=<Str>] [-o|--only-app] [--separate-markdown-files] [-c|--comment=<Str>]

Top of Document

doc-n-save prompt create config doc-n-save mk-raku-dirs release release-d

Configure Doc-N-Save
         0	name > doc-n-save   
         1	lib > rakulib       
         2	bin > bin           
         3	exts > rakumod, raku, rakudoc
         4	docs > docs         
         5	markdown-path > README.md
         6	only-app > False    
         7	separate-markdown-files > False
         8	comment > using doc-n-save
         9	additional-pod-files > mk-raku-dirs, release, release-d
        10	cancel > cancel     
        11	OK > OK             
use cancel, bye, bye bye, quit, q, or 11 to quit or enter to accept the values as is
choose a candidate 0..11 =:> ⌼

Top of Document

doc-n-save explicit

Define the docs etc explicitly and then commit to git etc.

doc-n-save explicit  --help
Usage:
  doc-n-save explicit <name> [<additional-pod-files> ...] [-l|--lib=<Str>] [-b|--bin=<Str>] [-e|--exts=<Str>] [-d|--docs=<Str>] [-m|--markdown-path=<Str>] [-o|--only-app] [--separate-markdown-files] [-c|--comment=<Str>]

Top of Document

Mk-Raku-Dirs.raku

Mk-Raku-Dirs

A Raku program for either create a full skeleton repository from a few simple arguments or make sure that an existing repository is complete.

mk-raku-dirs --help
Usage:
  mk-raku-dirs empty <name> [<additional-files> ...] [-l|--lib=<Str>] [-b|--bin=<Str>] [-d|--docs=<Str>] [-T|--tags=<Str>] [-p|--depends=<Str>] [-t|--test=<Str>] [--test-depends=<Str>] [--git-dir=<Str>] [-m|--markdown-path=<Str>] [-c|--comment|--git-comment=<Str>] [-a|--application|--app] [-o|--only-app] [-D|--description=<Str>] [--git-url=<Str>] [-u|--git-user=<Str>] [-e|--email=<Str>] [-U|--git-username=<Str>] [--zef-auth=<Str>]
  mk-raku-dirs here <name> [<additional-files> ...] [-l|--lib=<Str>] [-b|--bin=<Str>] [-d|--docs=<Str>] [-T|--tags=<Str>] [-p|--depends=<Str>] [-t|--test=<Str>] [--test-depends=<Str>] [--git-dir=<Str>] [-m|--markdown-path=<Str>] [-c|--comment|--git-comment=<Str>] [-a|--application|--app] [-o|--only-app] [-D|--description=<Str>] [-u|--git-user=<Str>] [-e|--email=<Str>] [-U|--git-username=<Str>] [--zef-auth=<Str>]

Top of Document

release.raku

release

A Raku program to fez upload programs or modules to zef and update the the git repositories release tags.

Note: I found the original release.raku on the web somewhere in raku.land, if you are the originator please claim it so I can give credit.

release_d --help
Usage:
  release_d

Top of Document

release-d.raku

release-d

release_d

A Raku program to fez upload programs or modules to zef and update the the git repositories release tags.

Note1: you will need a archive/ directory for this best put it in your .gitignore as those archieve files get too big.

Note2: This uses git archive to get around a fez/zef update bug.

Note3: I found the original release.raku on the web somewhere in raku.land, if you are the originator please claim it so I can give credit.

release-d --help
Usage:
  release-d

Top of Document