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

CLI Book – Rolling Review – DO NOT MERGE #58

Open
wants to merge 189 commits into
base: pls-review
from

Conversation

Projects
None yet
@killercup
Copy link
Collaborator

killercup commented Aug 1, 2018

This pull request is not meant to ever be merged.

The book is written like this: New chapters will be added in PRs, where they get a bit of review, and finally get merged into master. Once they land in master, it's hard to leave review comments, though!

This PR is meant to give you a way to review the book and leave comments in an easy way. It shows the diff between master before I added the book and master right now, so it'll always show the full book, and also automatically mark comments as resolved once new content lands in master.

killercup added some commits Jul 25, 2018

Add travis config
Ive already added the GITHUB_TOKEN
Add empty "in-depth" chapters
Just to draft out a possible book structure
Merge pull request #47 from killercup/suddenly-a-mdbook
mdbook setup and draft of tutorial
Book: intro.md -> README.md
Renders nicely on github
Book: Adjust headlines
These are rendered as separate pages so it makes sense to have an h1 on
each one of them.
Tutorial: Errors draft
Not meant to replace the book chapter, just wants to provide an
alternative perspective on this in the context of CLI apps.
Merge pull request #52 from killercup/more-book-output
Tutorial: Draft of Output chapter

juliangehring and others added some commits Dec 8, 2018

Merge pull request #108 from juliangehring/fix-links
Note: Cool URLs don't change. This changes URLs.
Drop `extern crate` in refactoring steps
Not needed anymore the rust 2018 edition (as mentioned at the start of the tutorial).
Merge pull request #109 from juliangehring/2018-updates
Minor updates around 2018 edition
Merge pull request #110 from kraai/patch-3
Fix misspelling of "That's"
Merge pull request #111 from kraai/patch-4
Change "printing" to "print"
Book: Explain usage of traits in testing chapter
Thanks @dkotrada for making me aware of this!
Merge pull request #115 from killercup/book/testing-explain-traits
Book: Explain usage of traits in testing chapter
Dieter Konrad
Merge pull request #116 from dkotrada/master
fix broken link to in-depth chapter
Merge pull request #121 from Thorbijoern/patch-1
just a little typo fix
Merge pull request #123 from liamdawson/patch-1
Mention `clap_generate` is for alpha clap v3
Merge pull request #119 from mydogisbox/add-powershell-example-to-log…
…ging-section

Add example of setting env vars in PowerShell
fn main() -> Result<(), io::Error> {
let cfg: ConfyConfig = confy::load("my_app")?;
println!("{:#?}", cfg);

This comment has been minimized.

@pickfire

pickfire Mar 28, 2019

I think we could have used dbg!() here instead after the debug have become stable?

in the ideal case when your program succeeds,
it should exit with `0`.

When an error occurs, it gets a bit more complicated, though.

This comment has been minimized.

@pickfire

pickfire Mar 28, 2019

Just my two cents, would it be nice to remove the , though here?

deg4uss3r and others added some commits Mar 29, 2019

Merge pull request #124 from deg4uss3r/readme_chat_fix
Updated chat with us link to include discord
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.