Skip to main content
Version: 2.7.0 (current)

Delete Screens

Delete a Screen

  • To delete a screen simply run:
rnhc delete -s <screen-name>
  • This will delete the screen with the given name <screen-name> under the src/screens/ folder.

  • If the screen does not exist, rnhc will prompt the following:

src/screens/<screen-name>/ does not exist

Delete multiple Screens

  • To delete multiple screens run:
rnhc delete -s <screen-name-1> <screen-name-2> ...
  • This will delete only the existed screens with the given inputs that resides under the src/screens/ folder.

Delete a Screens in a Specific Folder

  • To delete one or multiple screens that resides in a specific path under the src/screens/ folder, you can run:
rnhc delete -s <screen-name-1> <screen-name-2> ... -f <folder-path>
  • This will delete only the existed screens with the given inputs that resides under the src/screens/<folder-path>/ folder.