Support opening projects from any path. #4

Closed
opened 2023-04-24 07:50:53 +01:00 by dananglin · 1 comment
Owner

Allow users to specify a path to open or create projects.

Edit: This will be a breaking change.

Allow users to specify a path to open or create projects. **Edit:** This will be a breaking change.
dananglin self-assigned this 2023-04-24 07:50:53 +01:00
Author
Owner

Currently the application opens the BoltDB database at a specific location when the user presses 'o'. This functionality will be removed in favour of allowing the user to specify the path of the database as the first (and only) command line argument when running Pelican. The application will no longer assume the location of a default database file.

Implementation

  • Remove the 'o' keymapping.
  • Read the path from the command line argument. If the user does not set this, exit the app with an error message.
  • Open or create the database at the specified path.
Currently the application opens the BoltDB database at a specific location when the user presses 'o'. This functionality will be removed in favour of allowing the user to specify the path of the database as the first (and only) command line argument when running Pelican. The application will no longer assume the location of a default database file. ### Implementation - Remove the 'o' keymapping. - Read the path from the command line argument. If the user does not set this, exit the app with an error message. - Open or create the database at the specified path.
dananglin added this to the v0.1.0 milestone 2024-01-12 14:29:58 +00:00
dananglin added this to the The Pelican Project project 2024-01-12 14:36:00 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: apollo/pelican#4
No description provided.