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

What CLI APIs are there? #1

Open
CanadaHonk opened this issue Jan 22, 2024 · 2 comments
Open

What CLI APIs are there? #1

CanadaHonk opened this issue Jan 22, 2024 · 2 comments
Labels
agenda+ Should be discussed next meeting spec

Comments

@CanadaHonk
Copy link
Member

CanadaHonk commented Jan 22, 2024

  • argv (process.argv, ~Deno.args, etc)
  • stdout (process.stdout.write, etc)
    • console.log does partially cover this; however some applications may need/want a method to write to stdout without additional processing or newlines.
  • stdin
  • environment variables (too general/out of scope?)
  • exit/quit function (too general/out of scope?)
    • Possible signature: exit(code?: number)
@lucacasonato
Copy link
Member

  • (exit) signal hooks (Deno.addSignalListener for an example)

@Ethan-Arrowood
Copy link

Ethan-Arrowood commented Feb 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agenda+ Should be discussed next meeting spec
Projects
None yet
Development

No branches or pull requests

3 participants