### Copyright 2016 Pixar ### ### Licensed under the Apache License, Version 2.0 (the "Apache License") ### with the following modification; you may not use this file except in ### compliance with the Apache License and the following modification to it: ### Section 6. Trademarks. is deleted and replaced with: ### ### 6. Trademarks. This License does not grant permission to use the trade ### names, trademarks, service marks, or product names of the Licensor ### and its affiliates, except as required to comply with Section 4(c) of ### the License and to reproduce the content of the NOTICE file. ### ### You may obtain a copy of the Apache License at ### ### http://www.apache.org/licenses/LICENSE-2.0 ### ### Unless required by applicable law or agreed to in writing, software ### distributed under the Apache License with the above modification is ### distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ### KIND, either express or implied. See the Apache License for the specific ### language governing permissions and limitations under the Apache License. ### ### module D3 module Admin # This just exists to get the very lengthy help texts out of the d3admin and # d3 executables. module Help extend self USAGE = "Usage: d3admin action target [options]" ### Return the d3amin help text ### ### @return [String] the d3admin help text ### def help_text helptxt = <<-ENDHELP #{USAGE} === Actions === add Add a new pilot package edit Change properties of existing package live Make existing pilot package live delete Delete a package info Show details of an package search List matching pkgs on the server report Report about receipts on computers config d3admin configutation on this machine help Show this help. === Options === General: -w, --walkthru Interactively prompt for all options. -a, --auto-confirm Don't ask for confirmation before acting -h, --help Show this help text -H, --extended-help Show extended help -D, --debug Show debug info and ruby backtraces Action add: -i, --import Import an existing JSS package -W, --workspace Folder in which to build .dmgs & .pkgs -I, --no-inherit Don't inherit values from last package -s, --source-path Path to a .pkg, .dmg, or root-folder --dmg Build a .dmg, rather than a .pkg --preserve-owners Keep the ownership of contents in built .pkgs -p, --pkg-id Apple pkg-identifier for built .pkgs Action add and edit: -v, --version Version of the thing installed -r, --revision Sequential packaging of the same version -n, --package-name The JSS 'display name' of the package -f, --filename The filename on the distribution point -d, --description A textual description of this package -e, --pre-install