.. _nexus: ***** Nexus ***** .. program-output:: lftools nexus --help .. _nexus-commands: Commands ======== .. contents:: Nexus Commands :local: .. _nexus-create: create ------ .. program-output:: lftools nexus create --help .. _nexus-repo: repo ^^^^ .. program-output:: lftools nexus create repo --help For details and examples, please see :ref:`Create Nexus2 repos with lftools ` .. _nexus-role: role ^^^^ .. program-output:: lftools nexus create role --help .. code-block:: yaml # Example role-config.yaml. The top-level keys will be the role's id. --- # Minimal config lf-deployment: name: LF Deployment Role roles: # Roles can be defined by ID or by Name - nx-deployment - analytics # Full config with privileges (by name only) and description defined. LF Deployment By Name: name: LF Dep Role privileges: - Status - (read) - Login to UI roles: - Nexus Deployment Role - Analytics description: "A role where I defined its contained roles by name" .. _nexus-reorder-staged-repos: reorder-staged-repos -------------------- .. program-output:: lftools nexus reorder-staged-repos --help .. _nexus-docker: docker ------ .. program-output:: lftools nexus docker --help While a settings.yaml file is still supported for ``nexus docker`` commands, the preferred way to login is to use an lftools.ini file, and provide the server address using the ``--server`` option. The config file should be at $HOME/.config/lftools/lftools.ini. .. _nexus-docker-delete: delete ^^^^^^ .. program-output:: lftools nexus docker delete --help .. _nexus-docker-list: list ^^^^ .. program-output:: lftools nexus docker list --help .. _nexus-release: release ------- .. program-output:: lftools nexus release --help While a settings.yaml file is still supported for ``nexus release`` commands, the preferred way to login is to use an lftools.ini file, and provide the server address using the ``--server`` option. The config file should be at $HOME/.config/lftools/lftools.ini. Requires an [nexus.example.com] for each Nexus repositories in ~/.config/lftools/lftools.ini: .. code-block:: bash [nexus.example.com] username= password=