Commit graph

16 commits

Author SHA1 Message Date
9dc0d039d9
refactor(python): relocate py shims to module 2024-01-28 16:57:09 -05:00
1b87b6fa1e
fix(init): ensure shims call namespaced which command 2024-01-28 14:35:31 -05:00
16509e82fe
refactor(python): move python commands under python module 2024-01-25 23:23:01 -05:00
c0d8d31ace
refactor(python): move python-specific logic to own module 2024-01-25 23:22:54 -05:00
a5c7242045
refactor(cli): move cli+logger to own module 2024-01-25 23:22:47 -05:00
c8faae8637
refactor(state-mgmt): move state management code to own module 2024-01-25 23:21:06 -05:00
61847e532b
refactor: replace fmt by log or plain concat (#15) 2023-11-29 05:06:55 +00:00
1bbd6c1050
feat: handling for using versions that are not installed (#14)
* feat: handling for using versions that are not installed

* test: coverage for installed version list

* chore: increment version to 0.0.8
2023-11-29 01:24:00 +00:00
38450e0f72
feat: which + version commands (#13)
* refactor: simplify logic that determines which Python version is used

* feat: which to output path only, version to output full current version meta

* fix: command used in shims

* chore: bump version to 0.0.7
2023-11-28 05:19:34 +00:00
3ccf410f17
feat: support .python-version to set version (#12)
* feat: add support for defining version via  .python-version

* test: coverage for .python-version support

* fix: double-printing due to untrimmed .python-version read
2023-11-27 22:31:14 -05:00
d6bce67296
feat: better formatting for which/where printouts (#11)
* feat: better formatting for which/where printouts

* chore: update version to 0.0.6
2023-11-27 23:46:19 +00:00
5bf3f36559
feat: default to system python if no version specified (#10)
* refactor: extract shared logic determining which python version is used

* feat: default to unshimmed python if no version specified

docs: mention of how system-python is evaluated

* refactor: extract python version determining funcs

* wip: ensure that output from system python check is cleaned for stray spaces

* test: coverage for system python fallback

* refactor: unused constant

* chore: update version to 0.0.5
2023-11-27 23:16:57 +00:00
5006ff3076
feat: easier path setup through init --add-path (#6)
* feat: init --add-path to provide env export

* docs: mention --add-path in setup docs

* chore: version update, 0.0.3
2023-11-05 10:41:43 -05:00
5e245f11cc
refactor: url.JoinPath and state path.Join abstraction instead of fmt… (#5)
* refactor: url.JoinPath and state path.Join abstraction instead of fmt.Sprintf

* refactor: version composition with fmt.Sprintf
2023-11-05 10:19:53 -05:00
aa365131d1
fix: shim should use v executable from $PATH (#4) 2023-11-05 09:44:56 -05:00
ab711a28b8
refactor: simplify project structure (#2)
* refactor: remove file structure cruft

* refactor: flatten file structure entirely

* refactor: combine utils
2023-11-04 21:28:11 -04:00