Skip to content

Commit

Permalink
Merge pull request #64 from NeroReflex/deprecate_old_commands
Browse files Browse the repository at this point in the history
Add a deprecation note to old commands and prevent them from running
  • Loading branch information
NeroReflex committed Aug 13, 2024
2 parents 2848793 + 998ca75 commit a52367c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frzr-bootstrap
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#! /bin/bash

if [ -z "$MOUNT_PATH" ]; then
echo "WARNING: frzr-bootstrap is being deprecated and will be removed on a future version: use frzr bootstrap instead. See frzr help."
exit 1
fi

source "${BASH_SOURCE%/*}/__frzr-bootstrap"

# TODO: check the file lock exists
Expand Down
5 changes: 5 additions & 0 deletions frzr-deploy
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#! /bin/bash

if [ -z "$MOUNT_PATH" ]; then
echo "WARNING: frzr-deploy is being deprecated and will be removed on a future version: use frzr deploy instead. See frzr help."
exit 1
fi

source "${BASH_SOURCE%/*}/__frzr-deploy"

# TODO: check the file lock exists
Expand Down
5 changes: 5 additions & 0 deletions frzr-unlock
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#! /bin/bash

if [ -z "$MOUNT_PATH" ]; then
echo "WARNING: frzr-unlock is being deprecated and will be removed on a future version: use frzr unlock instead. See frzr help."
exit 1
fi

source "${BASH_SOURCE%/*}/__frzr-unlock"

# TODO: check the file lock exists
Expand Down

0 comments on commit a52367c

Please sign in to comment.