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

Command line figlet4s #1

Open
ColOfAbRiX opened this issue Nov 13, 2020 · 1 comment
Open

Command line figlet4s #1

ColOfAbRiX opened this issue Nov 13, 2020 · 1 comment
Labels
feature New feature or request good first issue Good for newcomers

Comments

@ColOfAbRiX
Copy link
Owner

ColOfAbRiX commented Nov 13, 2020

Description

As a user of the terminal I would like to use figlet4s not only as a Scala library but also from the command line.

Implementation

I would like the command line interface to be similar to the original figlet implmentation so that I don't have to learn a different way of doing the same things (this is the man page for figlet: https://linux.die.net/man/6/figlet).

I would like that terminal Figlet4s behaves like a Unix filter so I can use it as part of bigger programs.

I would like to not invoke scala directly (i.e. not using scala -cp classes figlet4s.... but I want to run it as a standard executable file. A simple way of doing this can be seen in this page: https://coderwall.com/p/ssuaxa/how-to-make-a-jar-file-linux-executable

I would like errors to be displayed nicely, when possible, instead of an uncomprehensible mess of geek lingo.

If figlet4s doesn't yet support a feature that figlet does and this feature is in the backlog, add the command line option anyway and print out a message that says the feature is not available.

Consider compiling for https://github.com/scala-native/scala-native (investigate the details of the project first)

@ColOfAbRiX ColOfAbRiX added feature New feature or request good first issue Good for newcomers labels Nov 13, 2020
@ColOfAbRiX
Copy link
Owner Author

Use https://github.com/scopt/scopt as command line parser as it supports Scala 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant