muxtools.cli
The muxtools command-line interface.
init
init(*, standalone: Annotated[bool, Parameter(negative=False)] = False, pyproject: Annotated[bool, Parameter(negative=False)] = False, local: Annotated[bool, Parameter(name=['--local', '-l'], negative=False, help='Use binaries installed in this project.')] = False, global_: Annotated[bool, Parameter(name=['--global', '-g'], negative=False, help='Use binaries installed for this user.')] = False, system: Annotated[bool, Parameter(name=['--system', '-s'], negative=False, help='Use executables on PATH.')] = False) -> None
Initialize project configuration. Prompts for a binary mode in a terminal; defaults to local in scripts.
Source code in
muxtools/cli.py
migrate_config_command
Copy legacy INI settings into a selected TOML file.
Source code in
muxtools/cli.py
video_meta
Generate VideoMeta JSON from a video.
Source code in
muxtools/cli.py
add
add(*specs: str, offline: Annotated[bool, Parameter(help='Use the cached catalog and installed binaries.')] = False) -> None
Declare and install packages in the current project.
Source code in
muxtools/cli.py
install
install(*specs: str, local: Annotated[bool, Parameter(name=['--local', '-l'], help='Install in this project.')] = False, global_: Annotated[bool, Parameter(name=['--global', '-g'], help='Install for this user.')] = False, offline: Annotated[bool, Parameter(help='Use the cached catalog and installed binaries.')] = False) -> None
Install packages without modifying project declarations.
Source code in
muxtools/cli.py
sync
sync(*, offline: Annotated[bool, Parameter(help='Check without downloading; require installed binaries.')] = False) -> None
Ensure project binary declarations are available.
Source code in
muxtools/cli.py
list_binaries
list_binaries(*, global_: Annotated[bool, Parameter(name=['--global', '-g'], help='List user-global binaries.')] = False) -> None
Show installed versions and the version selected by active declarations.
Source code in
muxtools/cli.py
255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 | |
remove
remove(*selectors: str, local: Annotated[bool, Parameter(name=['--local', '-l'], help='Remove from project storage.')] = False, global_: Annotated[bool, Parameter(name=['--global', '-g'], help='Remove from user-global storage.')] = False, yes: Annotated[bool, Parameter(name=['--yes', '-y'], negative=False, help='Skip the confirmation prompt.')] = False) -> None
Remove installed versions; '*' cleans unused project-local versions.
Source code in
muxtools/cli.py
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 | |
binaries_menu
Choose a binary management action.