Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 18 15:26
    lzutao opened #142
  • Sep 10 06:48
    ashutoshrishi commented #33
  • Aug 26 12:49

    killercup on gh-pages

    Deploy rust-lang-nursery/cli-wg… (compare)

  • Aug 26 12:45
    Dylan-DPC commented #141
  • Aug 26 12:45
    Dylan-DPC synchronize #58
  • Aug 26 12:45

    Dylan-DPC on master

    Fix fuzzing broken link (#141) (compare)

  • Aug 26 12:45
    Dylan-DPC closed #141
  • Aug 26 12:45
    Dylan-DPC closed #140
  • Aug 26 12:38
    frewsxcv opened #141
  • Aug 26 12:14
    rusty-snake commented #140
  • Aug 26 12:01
    killercup commented #140
  • Aug 26 12:01
    killercup commented #140
  • Aug 26 11:42
    rusty-snake opened #140
  • Jul 22 00:28
    lbeckman314 synchronize #139
  • Jul 22 00:08
    lbeckman314 opened #139
  • Jul 20 13:28
    stappersg commented #137
  • Jul 20 13:24
    stappersg commented #138
  • Jul 20 13:21
    stappersg opened #138
  • Jul 20 11:44
    Dylan-DPC commented #137
  • Jul 19 20:08
    killercup commented #137
Ed Page
@epage
Oh and two things I'd like to see but not blocking 1.0
  • Directory diffing. Still been mulling over what'd be the appropriate API
  • Snapshot testing as you suggested. I'm waiting to see how the other snapshot testing crates mature
Katharina
@spacekookie
:wave:
waves at Pascal from 1 metre away
Jeremy Wright
@jmwright

Hello everyone. Is there a standard, cross-platform way to add tab completion to Rust CLIs? The solutions I've found in my searches look like they probably won't be cross-platform. Here are a couple of links I've found.
rust-lang/rustup.rs#278

https://www.reddit.com/r/rust/comments/4qvltw/claprs_can_now_generate_bash_tabcompletion/

I expect to use a combination of static (clap-rs generated) and dynamic tab completion (think path completion on the command line). I figured this group would be the most well connected with the best practices for this currently.

Pascal Hertleif
@killercup
@epage sounds good! i meant that once we have cmd and fs at 1.0, we should start building up assert-cli again from that, and iterate on its design from that
and yeah, i agree, dir diff and snapshots would be great to have. have you seen the progress on the insta crate?
Ed Page
@epage
been watching it.
Daniel Sockwell
@codesections
@jmwright What sort of cross-platform support are you looking for beyond what Clap provides? It does Bash, Powershell, Zsh, Fish, and Elvish, which seems to have most platforms covered
Jeremy Wright
@jmwright
@codesections Thanks for the reply. The only reference I found was to a bash autocomplete script, so I thought that only bash was supported. Looks like I was wrong.
Katharina
@spacekookie
Just FYI, we renamed the github organisation to rust-cli to be more in-line with the rest of the working groups
Daniel Sockwell
@codesections
That makes sense. The old name was pretty fun, but I can see the logic
Gargi Sharma
@gs0510
Hi all! I am looking for repositories with "good-first-issue" to contribute for this working group. I am looking at the repos under "https://github.com/rust-cli". Am I looking at the right place? Thanks!
Ed Page
@epage
That is one of the places

Two other related repos

At the moment, neither of those have good-first-issues but liquid is a dependency of some of those and it has some

Gargi Sharma
@gs0510
Amazing! Thanks @epage :)
Dylan DPC
@Dylan-DPC
Hey :) i was trying to get clap-derive to build with latest changes of clap, but it failed. It keeps complaining that i have a get_args_from_safe() method on App which doesn't exist even though i replaced all occurrences of that function. If anyone wants to look you can check out https://github.com/clap-rs/clap_derive/tree/fix/branch
Ricky
@deg4uss3r
@Dylan-DPC I was able to build it off that branch on MacOS with Rust 1.33
Dylan DPC
@Dylan-DPC
strange
Dylan DPC
@Dylan-DPC
@deg4uss3r build works for me as well, can you try cargo test?
Ricky
@deg4uss3r
Sorry was in a meeting :P trying cargo test now
yeah seeing the same no method named get_matches_from_safe errors
Dylan DPC
@Dylan-DPC
@deg4uss3r thanks.
Mendelt Siebenga
@Mendelt
Hi everyone, I've been working on a crate that might be of interest to the CLI working group and it's slowly getting into a usable state. It's a library and a set of macro's to help build interactive command-shell like applications. Although this might cross the line too much into TUI territory. You can find it at https://crates.io/crates/cmdr
If you think this fits into the rust cli ecosystem I'm very interested in feedback
Bruce Mitchener
@waywardmonkeys
@Mendelt I was working on something similar in a crate called commands … I’d like to talk more about this sort of thing sometime! I’m basing it on things like TOPS-20 and CLIM command systems.
Mendelt Siebenga
@Mendelt
@waywardmonkeys Great! I'll have a look at commands. I'm not familiar with TOPS-20 and CLIM. I worked with Cmd in Python a lot and wanted to build something similar for rust.
Bruce Mitchener
@waywardmonkeys
@Mendelt It is mid-afternoon here, so I’m going out shortly to pick up my daughter from school and stuff … what timezone are you in?
Mendelt Siebenga
@Mendelt
I'm in Europe, near rotterdam. It's 9 AM over here. But I'm at work right now so my availability is limited.
Dylan DPC
@Dylan-DPC
This message was deleted
Pascal Hertleif
@killercup
While you can still us this channel, please note that

the official chat for the CLI WG is now #wg-cli on the rust-lang discord server

Ricky
@deg4uss3r
lol I was just going to ask if this is still the main room or not