1 13 14 package org.ejbca.ui.cli; 15 16 21 public class ca extends BaseCommand { 22 27 public static void main(String [] args) { 28 try { 29 IAdminCommand cmd = CaAdminCommandFactory.getCommand(args); 30 31 if (cmd != null) { 32 cmd.execute(); 33 } else { 34 System.out.println( 35 "Usage: CA info | init | listcas | getrootcert | createcrl | getcrl | listexpired | exportprofiles | importprofiles | exportca | importca | importcert | republish | activateca | deactivateca"); 36 } 37 } catch (Exception e) { 38 System.out.println(e.getMessage()); 39 System.exit(-1); 41 } 42 } } | Popular Tags |