Replies: 9 comments 2 replies
-
Can you @edwinsage explain this further? What do you mean by that? Example? Some CLI programs distinguish between And yet others have something like Having a maybe we can give the user a few choices what kind of help info she/he wants:
|
Beta Was this translation helpful? Give feedback.
-
Just pointing out a fact.
Good point.
I personally enjoy it, to have all or nearly all information accessible directly from the command line. Only available via CLI is obviously not a good idea, because how would you read the installation instructions then? Or decide whether or not you actually want this tool or not. Hence,
I personally prefer Markdown. Web browsers are not available everywhere or in all situations, like remote work, headless servers, etc. How do other people consume this kind of info? In general, for other projects I mean. Without evaluating, listing all, good or bad:
While you @edwinsage miss a terse summary, sometimes I miss a better description of which arg goes/affects which arg. Sort of like "if you use --foo, then consider using --bar, but --foo collides/incompatible with --baz". Above all it would be nice to get the opinion of other matrix-commander users. People, please chime in and give feedback! |
Beta Was this translation helpful? Give feedback.
-
Just a few more remarks,
|
Beta Was this translation helpful? Give feedback.
-
Just as a side note, I stumbled across One can write books with it too (see Rust by Example). |
Beta Was this translation helpful? Give feedback.
-
The "Usage" section of |
Beta Was this translation helpful? Give feedback.
-
check out v5.1.0
|
Beta Was this translation helpful? Give feedback.
-
check out v5.2.0 there are now 4 levels of granularity for documentation:
all 4 are "inside" |
Beta Was this translation helpful? Give feedback.
-
@edwinsage What is your feedback on the new Do you feel like improving the Things like:
I found this on how to make links in Github MD.
|
Beta Was this translation helpful? Give feedback.
-
I recently decided that I could be useful by helping to reorganize the documentation, as MC has grown a lot and there's an immense amount of info that has sort of just gotten glommed in to the readme/help. It turns out this is opening up a lot of rabbit holes, so I figured I'd start talking about what I'm seeing and thinking before going too far. This is a messy brain-dump, as I think I need to do this before I can figure out how to consoliate these ideas.
Initial idea: Organize the various command-line arguments into groups, such as "General Options" and "Messaging". This is working, but it's also turning up a number of ideas of how to refactor how some of the arguments work, which would be an API change.
Questions this opens:
Using semantic versioning can feel weird with major version changes popping up frequently for seemingly minor changes, but I think it really draws attention to the fact that every time you change your mind about how to handle input or output, you quite possibly break other programs that rely on yours. While updating version numbers helps communicate that, the real thing it pushes is being very deliberate about how your API works. I feel like MC is at the point where it needs a rethink of how to structure itself so that future changes are unlikely to change the API.
What are your feelings on adopting more of a git flow or github flow? I keep waffling on how necessary this is, and it's also largely a question of how much structure is too much for you personally. Really I think the problem I'm trying to solve is how to avoid the situation where a new minor feature is added, but then needs a small tweak that is an "API change" that would force a version bump.
Since the documentation is huge, what about making
--help
output just a terse explanation of arguments, and put the full explanation in a man page or other document? Man pages are a rabbit hole all their own, but one I've been meaning to go down for some time. A good example of this split is wget, which is similarly a complex program that must handle many options dealing with external servers; comparewget --help
withman wget
.I'm interested in putting work into any/all of these, but don't want to get too far ahead of myself.
Beta Was this translation helpful? Give feedback.
All reactions