Skip to content

tgm-templates/rust-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust CLI with clap-rs

Rust CLI app with clap-rs

Features

  • clap.rs for args parsing
  • shell completion support.
$ @appName@ complete --bash
$ @appName@ complete --zsh
$ @appName@ complete --oh_my_zsh

Attentions for shell completion

  • args name can not contains "-"
  • about should not contains "'"

References