@axway/axway-cli-oum
Version:
Axway Amplify platform organization and user management CLI
42 lines (32 loc) • 1.07 kB
JavaScript
import { fileURLToPath } from 'url';
import { dirname } from 'path';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
var user = {
aliases: '!users',
commands: `${__dirname}/user`,
desc: 'Manage team users',
help: {
header() {
return `${this.desc}.`;
},
footer({ style }) {
return `${style.heading('Examples:')}
You may specify an organization by name, id, or guid as well as the team by
name or guid and user by email address or guid.
List all users in a team:
${style.highlight('axway team user list <org>')}
View available user roles:
${style.highlight('axway team user roles')}
Add a user to a team:
${style.highlight('axway team user add <org> <team> <user> --role <role>')}
Change a user's role within a team:
${style.highlight('axway team user update <org> <team> <user> --role <role>')}
Remove a user from a team:
${style.highlight('axway team user remove <org> <team> <user>')}`;
}
},
name: 'user'
};
export { user as default };
//# sourceMappingURL=user.js.map