registrar

Files related to my duties as Registrar of Agora Nomic
git clone git://juanmeleiro.mat.br/registrar
Log | Files | Refs | README

registrar.fish (290B)


      1 #!/usr/bin/fish
      2 
      3 argparse 'h/help' -- $argv
      4 
      5 function usage
      6 	echo 'usage: ./registrar.fish COMMAND'
      7 	echo 'commands:'
      8 	echo '    birthday'
      9 end
     10 
     11 test "$argv[1]" = guess -o -z "$argv[1]"
     12 and set argv (guess)
     13 
     14 for c in $argv
     15 	switch $c
     16 	case birthday
     17 		source 'scripts/birthday.fish'
     18 	end
     19 end