Additional Commands
-
How to get list of apps within a workspace
To obtain a list of 'Apps', including each app's ID, name, current environment, last deployment timestamp, live app URL, and current app status.
Use command :initz get app
To obtain information about a specific app.
Use command :initz get app <appname>
-
Activities of App
To get the activities performed for the particular app, including timestamps, details of each activity, and the users who carried out those activities.
Use command :initz get activity --appid=<appid>
-
Check App metric
To check CPU, Network & Memory Usage, use command :
initz check metrics --name <appname> --runtype <runtype>
Flags
--name
- Indicates the name of the application.
- required
- Shorthand :
n
--runtype
- Indicates the run type of the application.
- Possible value :
prod/non-prod
- required
-
Logs of App
To get the logs of the app for each environment (test/staging/production), Use command:
- Get logs using appid
initz logs app --appid=<appid> --env=<env>
- Get logs using appname
initz logs app --name=<appname> --env=<env>
Flags
--name
- Indicates tha name of the application.
- can use either name or appid
- required
- Shorthand :
n
--appid
- Indicates the id of the application.
- can use either name or appid
- required
--env
- Stands for environment.
- Possible value :
test/stg/prod
- requiured
-
Refresh supply chain data
To refresh the supply chain data of an app, use command :
initz refreshapp <appname>
-
Check App name
To check app name is already used or not, use command :
initz check appname <appname>