Share, Vote, & Discuss Ideas

We're constantly looking for new ways to improve our products and are asking you to help us by sharing your own ideas, voting for ideas you like, and discussing them with the rest of the community.

Allow json formatted text to create objects like clients and users for P4 command line

Instead of creating a form in its current format to create a client or user etc could we also allow a form to be specified in json format? If you also added the -json global option voted for here (http://p4ideax.com/ideas/890691) this would allow users to insert and extract data in an industry standardized way. Example: p4 client -j "[ { 'User':'user1','Email':'user1@domain.com', 'FullName':'user1', 'JobView':[] } ]"
  • Guest
  • May 29 2015
  • Attach files
  • J.T. Conklin commented
    September 16, 2015 01:20

    I'd like to see this too, but patterned after the "-G" command line option, which tells p4 to read and write marshalled python dictionary objects.