Commit graph

40 commits

Author SHA1 Message Date
349a9cbd0e
SETUPTOOLS_SCM_PRETEND_VERSION my beloved?? 2024-09-09 17:14:35 +00:00
846a33a941
Flags are now configurable. Plugins no longer provide default short flags. 2024-09-09 05:47:02 +00:00
d95038a650
Updated README.md 2024-09-08 22:50:25 +00:00
6d549d27c5
Split 'result' plugin type into 'location' and 'feedback'
> 'location' plugins generate locations the resource can be accessed
> 'feedback' plugins present that location in some way that's useful to the human user

Also don't user relative imports in default plugins
2024-09-08 21:14:22 +00:00
6a310b8ca9
Added --config flag 2024-09-08 20:28:33 +00:00
10b5a80a09
Add PluginManager class and move logic from main => PluginManager or Plugin as appropriate 2024-09-08 20:12:20 +00:00
528115691a
Use __str__ to print plugin arguments 2024-09-04 17:53:01 +00:00
86380766ac
loggers => _loggers 2024-09-04 17:51:58 +00:00
a9fa15d643
Refactoring
- Flatten plugin module into Plugin class
- Move logger to its own class and rework it slightly
- Rename source and name to get_source and get_name since name() now clashes with the plugin name
2024-09-03 19:47:49 +00:00
00f3321230
Extract Plugin class and plugin loading from main.py 2024-09-02 21:33:11 +00:00
2a0b3dcb56
Removed antiquated dependency 2024-09-01 21:06:51 +00:00
fd32d625a8
Updated examples 2024-09-01 21:05:43 +00:00
34e0527daf
https://duckduckgo.com/?t=ffab&q=how+to+run+a+setuptools+project
Send help!
2024-09-01 21:05:43 +00:00
0140759c88
Move GNOME 42 Screenshot problem to issue 2024-08-31 21:43:46 +00:00
55115a2925
Added notification example plugin 2024-08-31 21:35:57 +00:00
7e3e713b0d
Several changes
- Plugin configurations are only validated if they are active
- Fixed issue with how Argument was passing it's paramateres to add_argument
- Added new plugin type 'result'
- Added inbuilt log_result plugin
- Added clipboard plugin
- Fix issue with misidentifying non-plugins in plugins directory as plugins
2024-08-31 19:56:48 +00:00
e6a42988c6
Added examples submodule 2024-08-31 18:50:28 +00:00
dd46dbc7b7
Modifications to arguments
- Arguments now use NoArgument instead of None to identify unset flags
- Arguments can now be optional and an activation flag using nargs="?" and const=Flag
2024-08-31 18:40:46 +00:00
987eddbf00
Arguments are working :fingers_crossed: 2024-08-31 18:25:53 +00:00
7b8fbf672b
Reorganised to use a plugin system 2024-08-31 05:43:30 +00:00
98c490dab9
Plugins are loading 2024-08-28 20:23:52 +00:00
72627995a7
Loaded a module :D 2024-08-28 16:56:05 +00:00
c1a455d7a4
Bump version 2024-08-28 06:43:21 +00:00
f6cc7033b8
Bump version 2024-08-01 18:18:50 +00:00
97ea9d1028
Convert ids to base 62 (shorter url) 2024-08-01 17:56:06 +00:00
ad63a98bdf
Configuration file fixes 2024-08-01 16:07:35 +00:00
82619349b0
Handle versioning manually (because setuptools_scm is mean and won't work with release tarballs ;-;) 2024-08-01 07:16:54 +00:00
11740120ac
Added documentation 2024-08-01 06:01:23 +00:00
86a75c4755
More config 2024-08-01 01:30:10 +00:00
aff77c5cc2
Now loads config file 2024-08-01 01:14:10 +00:00
709d99f729
Reworked arguments and then actually implemented them 2024-08-01 00:22:19 +00:00
cde4bffb0d
Fixed project versioning. Added some initial argument parsing. 2024-07-31 22:08:18 +00:00
a310c28a52
Moved to shiny new pyproject.toml from gross disgusting old setup.py 🤢 2024-07-31 20:19:23 +00:00
3641174c18
Now builds with setuptools. Add some extra printing. 2024-07-31 19:36:47 +00:00
ba53b71683
Add LICENSE 2024-07-31 18:29:03 +00:00
973ad06efa
Select most recently modified file from directory 2024-07-31 17:50:30 +00:00
37a8c4bb49
GNOME 42 screenshot conundrum 2024-07-31 16:30:10 +00:00
ec5692e064
Copy share url to clipboard 2024-07-31 15:41:13 +00:00
cbe3554252
Don't share directories and give each upload a unique id 2024-07-31 15:33:44 +00:00
7130c07100
Files are being copied :D 2024-07-31 15:11:55 +00:00