Doonv
Doonv
I would like to implement a system that could read the scripts for some metadata (like a Description) and then put it inside the table. Any ideas on how metadata...
> > I would like to implement a system that could read the scripts for some metadata (like a Description) and then put it inside the table. Any ideas on...
Okay so this is what I came up with: ```py #?name: ~/.fehbg.nu #?version: 1.0 # #?short-desc: Selects a random image from a directory and sets it as a wallpaper #...
> Generally OK, but I suggest a few changes: > > 1. Don't store paths in name, make it just `fehbg` (or `fehbg.nu`) in this case > > 2. Add...
Alright so I got a test working of how getting the script metadata/manifests would work.  I think its pretty good. Also the `get-script-data` function is very well documented. ...
> Excellent work! > > Though I still think that `#?name` should contain only the script's name and that file's location in nu_scripts repo should be included. Besides that, everything...
The auto-generation is working!  In this image the following properties are auto-generated: - `name`: The filename. - `script-url`: ` https://github.com/nushell/nu_scripts/blob/main/{PATH TO SCRIPT}` - `authors`: Fetched from the GitHub API....
Should we move this generator into it's own directory?
> When the template will be agreed on, we can... It's about time we start discussing the template and how it will look like, I'll start and we will make...
> > #?name: (Autogenerated) The name of the file > > Means the path to the file (for logical purposes)? No. That's a separate property which i forgot to mention...