Skip to main content

Can anyone help me with the code for creating CLI profile?

Hi Siddhesh,

 

Do you want to create a CLI profile using the Content CLI from the terminal or CMD (for Windows user)? Or do you want a python code using the pycelonis library?


Hi Siddhesh,

 

Do you want to create a CLI profile using the Content CLI from the terminal or CMD (for Windows user)? Or do you want a python code using the pycelonis library?

Hey Robert, thanks for responding. I have written CLI profile command in pycelonis. Now want to understand how to run it? Because when I run it it is asking to enter name for the profile but I did not find any text box to enter the same. I am using PLAY button which is available in pycelonis menu bar. Attaching screen-shot for reference.

 

I am beginner in python/using jyupter, so if I am making silly mistake then please point it out.

 

image


The profile is to connect to other team. I think that, to interact with your current team (the one where you are running the ML workbench) you do not need to define a profile.

 

Nevertheless, below the documentation:

 

https://github.com/celonis/content-cli/blob/master/DOCUMENTATION.md

 

Using profiles

As mentioned above, Content CLI allows creating profiles for different environments. A profile consists of a name, URL to your EMS team and an API token. Each of the above mentioned commands include a --profile flag which allows you selecting a profile by its name.

Creating a profile is done by using the content-cli profile create command. The CLI will ask for a name, a URL and an API token. If the provided information is correct, it will create a profile with the provided data. After successfully creating a profile, you can view your profiles by running the content-cli profile list command.

 

 

HTH


Thanks for the responses guys. But last night, I figured out myself and able to transfer the assets from one team to another.


Thanks for the responses guys. But last night, I figured out myself and able to transfer the assets from one team to another.

No worries!


Reply