Apify CLI to support organizations the same way Apify Console does
Apify CLI should support the organizations in an equal way to Apify Console UI, i.e., the user should be able to push Actor under their own account or under the organization.
The current workaround is to log out and call apify login with the organization token, but that is not comfortable.
There are multiple options. We could, for example, allow the storing of multiple accounts (profiles) in .apify/credentials file as AWS does: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html and allow people to easily switch between profiles.
Or we could add a parameter i (= impersonate) allowing to impersonate an organization in the command:
apify push -i=apify
The CLI would then fetch a user's token impersonating the organization and perform the command.
Link to feature: https://apify.productboard.com/feature-board/planning/features/24835644
Going through old issues and found #115 which seems pretty similar (feels almost like a duplicate).
edit: and also #94