Implicitly create project when launched with a folder path as argument
See original GitHub issueIt would be really nice if I could load Spyder from the CLI when I am in a directory, with the contents of that directory, by running spyder .
(or spyder /home/akdor1154/src/project
, etc). AFAICT wiith Spyder’s project model, this would require Spyder to
- check if a project exists for that directory (i guess this already happens)
- if not, create a new one
- open said project.
I guess an implementation of this would be quite simple, would you accept a PR to that effect?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Chapter 8 – Reading and Writing Files
The path specifies the location of a file on the computer. For example, there is a file on my Windows 7 laptop with...
Read more >File path formats on Windows systems | Microsoft Learn
A relative path to a file in a directory starting from the current directory. C:\Projects\apilibrary\apilibrary.sln, An absolute path to a file ...
Read more >Working With Files - Gradle User Manual
The Project.file(java.lang.Object) method is used to create a file or directory path relative to the current project and is a common way to...
Read more >python - How to reliably open a file in the same directory as ...
I always use: __location__ = os.path.realpath( os.path.join(os.getcwd(), os.path.dirname(__file__))). The join() call prepends the current working directory ...
Read more >Channels — Nextflow 22.10.2 documentation
A value channel is implicitly created by a process when it is invoked with a ... The first example will return all directory...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If VSCode and Sublime do the same as us, then I’d be happy a PR to add support to create a new project with
-p
if none is present in the directory passed to it.awesome, thanks for your consideration 😃