31 lines
561 B
TypeScript
31 lines
561 B
TypeScript
#!/usr/bin/env runts -- --allow-env --allow-run
|
|
|
|
const PYTHON_CONFIG_FILE = "~/.config/python-config.json";
|
|
|
|
interface PythonConfig {
|
|
default_version?: string;
|
|
default_profile?: string;
|
|
python_venv_base_path?: string;
|
|
versions: Map<string, PythonVersion>;
|
|
profiles?: Map<string, PythonVenv>;
|
|
}
|
|
|
|
interface PythonVersion {
|
|
version: string;
|
|
path: string;
|
|
comment?: string;
|
|
}
|
|
|
|
interface PythonVenv {
|
|
version: string;
|
|
path: string;
|
|
comment?: string;
|
|
}
|
|
|
|
async function main() {
|
|
// TODO ...
|
|
}
|
|
await main();
|
|
|
|
// TODO ...
|