-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Getting Started Guide #79
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 Getting Started Guide #79
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have a general guide to using Arduino CLI:
https://arduino.github.io/arduino-cli/latest/getting-started/
The documentation hosted in this repository must be restricted to information specific to the library. For everything else, just link to the existing documentation. Duplicating content means either an unnecessary increase in the maintenance burden or (much more likely) outdated zombie docs that confuse and frustrate the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much @jacobhylen for this first draft. I'd like to second @per1234 comments re duplicating of content available over for the arduino-cli
. Maybe the most important difference to note is that you download the special multi-threading-cli differently than the default CLI and you need to ensure that you invoke the correct cli (that is the multi-threaded one, not maybe the default one which has been added to the system path and is therefore unintentionally invoked).
One thing I wanted to add: for images (screenshots) please make sure that only the relevant part is visible (and the non-relevant part has been cut away). You can include images also via
<p align="center">
<img src="assets/boardlist.png" width="40%"></a>
</p>
which allows you to scale the image to the desired width.
@per1234 @aentinger I don't agree in this specific case. Let me explain. It's a bit of a special case because this repo is not just a library, it's for now a place for people to test a draft of this new feature. Now that I tested it with my team and the majority struggled to get it working with the CLI, we've figured it would be a good idea to provide a very basic document that gets them started just for the purpose of testing this library. This is because at this point the only way to test it is to use the CLI. We actually lost a few people because first learning how to use the command line and all the commands of the Arduino CLI was too big of a hurdle. @per1234 You can check the feedback from the survey, I'll invite you. So the idea is to have this document temporarily here to give the people just the things they need to do the testing. Once we move this library out of beta (alpha?) we can delete it. I'm a purist too and certainly we don't want to accumulate documentation maintenance debt (I mean my team would probably suffer the most), but practically speaking this currently solves a problem. |
0f2a18c
to
9f2ce64
Compare
Reading @sebromero ripose I'm inclined to side with him. Apparently there is a large percentage of people who really don't know how to use the @alranel please make a timely decision on whether to keep the getting started guide in its current form, modify it, or scrap it. |
…ted with the Arduino CLI for multi-threading.
64984cd
to
f95fde5
Compare
I've merged this now in order to move on. However, upon reading it once more its really "only" a arduino-cli getting started guide with v e r y little relevance to Arduino_Threads. Furthermore it's got a bit of a heavy focus on Windows but I suppose that's okay, given that there are many Windows users out there and Linux users are traditionally more in touch with command line tool usage. Let me say this though: The moment I get the feeling that having this getting started guide here causes confusion overall concerning arduino-cli I'll remove it. |
@aentinger Alright. So, if we want to make it more relevant for Arduino_Threads, what would you change / add? |
Drop the whole hocus-pocus how to install/start/use it. That's what the original getting started guide is for. In truth you only need to Install custom
|
I agree with @aentinger, I'd re-frame this to "How to test Arduino_Threads from command line" (or CLI). This guide is only relevant as long as these changes are not merged in the official codebase of the CLI so it's important to clarify that the guide applies to an experimental build related to an experimental feature. Also, we should avoid that a random visitor not interested in testing threads takes this guide as a generic guide on how to use the CLI, since we have better and more maintained documentation for that purpose. So I would do the things recommended by @aentinger |
Added a short getting started guide for users not familiar with the CLI or the Command prompt in general to get started with uploading sketches, self-made or examples to an Arduino board.