owez/ucli

The simple cli library

This project is duel-licensed under both MIT and Apache, so feel free to use either at your discretion

ucli

Licensing

. Links to the files are listed below:

Issues

Collection of the latest Issues

Owez

Owez

bug
Comment Icon0

Optional arguments are currently gobbling up valid subcommands. For example, when a user tries ab cd and cd is a command but ab has optional data, optional takes precedence and gobbles when it shouldn't. This issue was taken from these two old and quite ambiguous comments:

Owez

Owez

documentation
Comment Icon0

Before 0.1.0 release, there should be more demos and a restructured examples dir

vi

vi

enhancement
Comment Icon2

Can it be used, for example, to pass entire command line array to a subprocess unmodified without restrictions, like xargs? Does it start from std::env::args (simpler, but makes this task impossible) or from std::env::args_os (proper way, but tricky)?

Owez

Owez

enhancement
Comment Icon0

Manual pages should also be a primary post-release feature, perhaps a little further down the line then #5 as they are still frequently used in modern times. It should not have any message truncation (#2) etc and should be in the man-page format.

Not sure about if this should be a feature gate because the parsing complexity may be quite large due to specific manpage formatting requirements (i.e. the troff format).

Owez

Owez

enhancement
Comment Icon0

Important post-release feature, having a typo correction algorithm implemented helps a lot in my opinion and its a feature I like to see on other argparsers but that's missing from this.

Owez

Owez

documentation
Comment Icon0

When this project is further in development, all public items should be properly and fully documented with high-level examples for all. As for now however, they are purposefully more undocumented then private items.

Owez

Owez

enhancement
Comment Icon1

https://github.com/Owez/clonk/blob/15e8676fe218f63a4f6ca36f4f33300161f9c2d3/src/lib.rs#L185

Currently, we allow infinate length help messages, which are good for command-specific autohelp, e.g. ./program my_command --help, but may not format properly on the overview ./program --help where my_command may be a sub-command. To fix this I propose two changes:

  1. If a help message has a newline, only show the first line in the overview message and the full help in the command-specific help
  2. Truncate using .. to either fit terminal length or more realistically 80 characters if the total length of the line is >80

Information - Updated Jul 18, 2022

Stars: 132
Forks: 0
Issues: 9

Repositories & Extras

CLI

317

electron-hardener

A Rust library and command line tool to harden Electron binaries against runtime behavior modifications

electron-hardener

This is a Rust command line tool that calculates a histogram of the separate types...

This is a Rust command line tool that calculates a histogram of the separate types of JSON records in an input JSON log file (one...

This is a Rust command line tool that calculates a histogram of the separate types...

cmsis-pack-manager

is a python module, Rust crate and command line utility for managing current device information that is stored in many CMSIS PACKs

cmsis-pack-manager

Find all your notes with one command!

Todo_r is a simple rust command line utility that keeps track of your todo items in code

Find all your notes with one command!

A Rust command line utility tool to connect to the QuanticTelecom captive portal

So far, the only mode supported so far requires providing password and login

A Rust command line utility tool to connect to the QuanticTelecom captive portal

Rust Command Line Experiment

This is just a little learning exercise on how to write a command line application in rust and manipulate the

Rust Command Line Experiment

Rust command-line program to automatically RSVP new Meetup events

I still haven't gotten meetup's API to respond and haven't heard back from Meetup

Rust command-line program to automatically RSVP new Meetup events

The crs command is a Rust version of the Carbon CLI

The crs command is a Rust version of the jq for pretty-printing

The crs command is a Rust version of the Carbon CLI
Facebook Instagram Twitter GitHub Dribbble
Privacy