@@ -194,11 +194,13 @@ These commands help you develop Actors locally. Use them to create new Actor pro
194194
195195` ` ` sh
196196DESCRIPTION
197- Creates an Actor project from a template in a new directory.
197+ Creates an Actor project from a template in a new directory. The command
198+ automatically initializes a git repository in the newly created Actor
199+ directory.
198200
199201USAGE
200202 $ apify create [actorName] [--omit-optional-deps]
201- [--skip-dependency-install] [-t < value> ]
203+ [--skip-dependency-install] [--skip-git-init] [- t < value> ]
202204
203205ARGUMENTS
204206 actorName Name of the Actor and its directory
@@ -208,6 +210,8 @@ FLAGS
208210 dependencies.
209211 --skip-dependency-install Skip installing Actor
210212 dependencies.
213+ --skip-git-init Skip initializing a git
214+ repository in the Actor directory.
211215 -t, --template=< value> Template for the
212216 Actor. If not provided, the command will prompt for
213217 it. Visit
@@ -373,18 +377,54 @@ DESCRIPTION
373377 Manages runtime data operations inside of a running Actor.
374378
375379SUBCOMMANDS
376- actor set-value Sets or removes record into the
377- default key-value store associated with the Actor run.
378- actor push-data Saves data to Actor' s run default
379- dataset.
380- actor get-value Gets a value from the default
381- key-value store associated with the Actor run.
382- actor get-public-url Get an HTTP URL that allows public
383- access to a key-value store item.
384- actor get-input Gets the Actor input value from the
385- default key-value store associated with the Actor run.
386- actor charge Charge for a specific event in the
387- pay-per-event Actor run.
380+ actor set-value Sets or removes record into the
381+ default key-value store associated with the Actor run.
382+ actor push-data Saves data to Actor' s run
383+ default dataset.
384+ actor get-value Gets a value from the default
385+ key-value store associated with the Actor run.
386+ actor get-public-url Get an HTTP URL that allows
387+ public access to a key-value store item.
388+ actor get-input Gets the Actor input value from
389+ the default key-value store associated with the Actor
390+ run.
391+ actor charge Charge for a specific event in
392+ the pay-per-event Actor run.
393+ actor calculate-memory Calculates the Actor’s dynamic
394+ memory usage based on a memory expression from
395+ actor.json, input data, and run options.
396+ ```
397+
398+ ##### `apify actor calculate-memory`
399+
400+ ```sh
401+ DESCRIPTION
402+ Calculates the Actor’s dynamic memory usage based on a memory expression from
403+ actor.json, input data, and run options.
404+
405+ USAGE
406+ $ apify actor calculate-memory [--build <value>]
407+ [--default-memory-mbytes <value>]
408+ [--input <value>] [--max-items <value>]
409+ [--max-total-charge-usd <value>]
410+ [--timeout-secs <value>]
411+
412+ FLAGS
413+ --build=<value> Actor build
414+ version or build tag to evaluate the
415+ expression with.
416+ --default-memory-mbytes=<value>
417+ Memory-calculation expression (in MB). If
418+ omitted, the value is loaded from the
419+ actor.json file.
420+ --input=<value> Path to the
421+ input JSON file used for the calculation.
422+ --max-items=<value> Maximum
423+ number of items Actor can output.
424+ --max-total-charge-usd=<value> Maximum
425+ total charge in USD.
426+ --timeout-secs=<value> Maximum run
427+ timeout, in seconds.
388428```
389429
390430##### `apify actor charge`
@@ -517,7 +557,7 @@ DESCRIPTION
517557
518558USAGE
519559 $ apify actors push [actorId] [-b < value> ] [--dir < value> ]
520- [--force ] [--open] [-v < value> ] [-w < value> ]
560+ [-f ] [--open] [-v < value> ] [-w < value> ]
521561
522562ARGUMENTS
523563 actorId Name or ID of the Actor to push (e.g. " apify/hello-world" or
@@ -530,9 +570,9 @@ FLAGS
530570 it is taken from the ' .actor/actor.json' file
531571 --dir=< value> Directory where the
532572 Actor is located
533- --force Push an Actor even when
534- the local files are older than the Actor on the
535- platform.
573+ -f, --force Push an Actor even
574+ when the local files are older than the Actor on
575+ the platform.
536576 --open Whether to open the
537577 browser automatically to the Actor details page.
538578 -v, --version=< value> Actor version number
0 commit comments