@@ -41,23 +41,20 @@ const DEFAULT_BUILD_TAG = 'latest';
4141
4242export class ActorsPushCommand extends ApifyCommand < typeof ActorsPushCommand > {
4343 static override description =
44- 'Uploads the Actor to the Apify platform and builds it there.\n' +
45- `The Actor settings are read from the "${ LOCAL_CONFIG_PATH } " file in the current directory, but they can be overridden using command-line options.\n` +
46- `NOTE: If the source files are smaller than ${
47- MAX_MULTIFILE_BYTES / 1024 ** 2
48- } MB then they are uploaded as \n` +
49- '"Multiple source files", otherwise they are uploaded as "Zip file".\n\n' +
50- "When there's an attempt to push files that are older than the Actor on the platform, the command will fail. Can be overwritten with --force flag." ;
44+ `Deploys Actor to Apify platform using settings from '${ LOCAL_CONFIG_PATH } '.\n` +
45+ `Files under '${ MAX_MULTIFILE_BYTES / 1024 ** 2 } ' MB upload as "Multiple source files"; ` +
46+ `larger projects upload as ZIP file.\n` +
47+ `Use --force to override newer remote versions.` ;
5148
5249 static override flags = {
5350 version : Flags . string ( {
5451 char : 'v' ,
55- description : `Actor version number to which the files should be pushed. By default, it is taken from the " ${ LOCAL_CONFIG_PATH } " file.` ,
52+ description : `Actor version number to which the files should be pushed. By default, it is taken from the ' ${ LOCAL_CONFIG_PATH } ' file.` ,
5653 required : false ,
5754 } ) ,
5855 'build-tag' : Flags . string ( {
5956 char : 'b' ,
60- description : `Build tag to be applied to the successful Actor build. By default, it is taken from the " ${ LOCAL_CONFIG_PATH } " file` ,
57+ description : `Build tag to be applied to the successful Actor build. By default, it is taken from the ' ${ LOCAL_CONFIG_PATH } ' file` ,
6158 required : false ,
6259 } ) ,
6360 'wait-for-finish' : Flags . string ( {
@@ -87,7 +84,7 @@ export class ActorsPushCommand extends ApifyCommand<typeof ActorsPushCommand> {
8784 required : false ,
8885 description :
8986 'Name or ID of the Actor to push (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). ' +
90- `If not provided, the command will create or modify the Actor with the name specified in " ${ LOCAL_CONFIG_PATH } " file.` ,
87+ `If not provided, the command will create or modify the Actor with the name specified in ' ${ LOCAL_CONFIG_PATH } ' file.` ,
9188 } ) ,
9289 } ;
9390
0 commit comments