Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add std/cli, move std/getopt there #1057

Merged
merged 2 commits into from
Nov 29, 2023
Merged

Add std/cli, move std/getopt there #1057

merged 2 commits into from
Nov 29, 2023

Commits on Nov 29, 2023

  1. Add std/cli, move std/getopt there

    Import a bunch of CLI utilities from gerbil-utils into std/cli;
    tweak them, document them, test them:
      - multicall to support multiple subcommands in a more modular way
      - getopt translation to Scheme calling convention
      - print-exit to print results of Scheme computation at the CLI
      - shell to support escaping strings for the shell
    
    Add a few corresponding utilities to std/error.
    
    Move std/getopt to std/cli/getopt with its brothers;
    leave a compatibility shim at std/getopt.
    
    Use std/cli/getopt everywhere instead of std/getopt.
    
    Update documentation.
    fare committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    a56e9c8 View commit details
    Browse the repository at this point in the history
  2. Integrate feedback from Noel

    fare committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    d139a57 View commit details
    Browse the repository at this point in the history