env/init,cmd,util
This commit is contained in:
parent
051c91a195
commit
96d08df70d
3 changed files with 6 additions and 3 deletions
|
@ -2,11 +2,11 @@
|
|||
|
||||
__version__ = "0.0.1"
|
||||
|
||||
import importlib
|
||||
import sys
|
||||
from os import environ, pathsep
|
||||
from pathlib import Path
|
||||
|
||||
import env
|
||||
from rwx import fs
|
||||
from rwx.log import stream as log
|
||||
from rwx.ps import run
|
||||
|
@ -15,6 +15,8 @@ from spcd import cmd
|
|||
from spcd.ci import project, projects
|
||||
from spcd.util import browse, cat, split, step
|
||||
|
||||
env = importlib.import_module("env")
|
||||
|
||||
COMMANDS_PREFIX = "spcd-"
|
||||
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
import os
|
||||
from pathlib import Path
|
||||
|
||||
import env
|
||||
from rwx import ps
|
||||
|
||||
from spcd import env
|
||||
from spcd.ci import project, projects
|
||||
from spcd.util import browse
|
||||
|
||||
|
|
|
@ -4,10 +4,11 @@ import os
|
|||
from pathlib import Path
|
||||
from urllib.parse import urlparse, urlunparse
|
||||
|
||||
import env
|
||||
from rwx import fs
|
||||
from rwx.log import stream as log
|
||||
|
||||
from spcd import env
|
||||
|
||||
|
||||
def add_url_path(url: str, extra_path: str) -> str:
|
||||
"""Append an extra segment to an existing URL."""
|
||||
|
|
Loading…
Reference in a new issue