Skip to content

Allow boolean expessions as command line arguments #8

@bubba2k

Description

@bubba2k

Currently, the program does not accept any command line arguments.
For ease of use, it would be a good idea to change that.

For example, if a boolean expression is supplied as a command line argument (as below), parse and process it right away,
then exit.
$ booltool "a & b -> c"
Or maybe even allow supplying multiple at the same time, for processing in order:
$ booltool "a & b" "c & b -> d" "g -> !(f | d)"

A flag like -i could then, if supplied, prompt the program to enter the current default interactive mode.

Should be quite straightforward to implement.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions