Release 0.2.0: object tree, refs/modules options, docs
Add query object (--clear), modules -n, composite refs labels, FillChecking/TypeSet parsing, VERSION/CHANGELOG and --version. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -28,6 +28,7 @@ if str(HERE) not in sys.path:
|
||||
sys.path.insert(0, str(HERE))
|
||||
|
||||
from index1c.build import build_project_index, default_workers # noqa: E402
|
||||
from index1c import read_version_file # noqa: E402
|
||||
from index1c.cli import ( # noqa: E402
|
||||
BaseconfError,
|
||||
add_baseconf_args,
|
||||
@@ -175,6 +176,11 @@ def build_parser() -> argparse.ArgumentParser:
|
||||
"Алиасы baseconf: target→crm3-26, source→crm3-dev"
|
||||
),
|
||||
)
|
||||
p.add_argument(
|
||||
"--version",
|
||||
action="version",
|
||||
version=f"%(prog)s {read_version_file()}",
|
||||
)
|
||||
add_tool_args(p)
|
||||
sub = p.add_subparsers(dest="cmd", required=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user