diff --git a/src/cli.cr b/src/cli.cr index f9a6578..87962ca 100644 --- a/src/cli.cr +++ b/src/cli.cr @@ -8,6 +8,8 @@ require "./config" require "./fzf" require "./version" +require "./operations" + module GX class Cli Log = ::Log.for("cli") diff --git a/src/operations.cr b/src/operations.cr new file mode 100644 index 0000000..ae965e8 --- /dev/null +++ b/src/operations.cr @@ -0,0 +1,2 @@ + +require "./operations/*" diff --git a/src/operations/abstract_command.cr b/src/operations/abstract_command.cr new file mode 100644 index 0000000..2b697ad --- /dev/null +++ b/src/operations/abstract_command.cr @@ -0,0 +1,8 @@ + +module GX + module Operations + abstract class AbstractCommand + abstract def execute() + end + end +end diff --git a/src/operations/filesystem_create_command.cr b/src/operations/filesystem_create_command.cr new file mode 100644 index 0000000..b041d01 --- /dev/null +++ b/src/operations/filesystem_create_command.cr @@ -0,0 +1,12 @@ + +require "./abstract_command" + +module GX + module Operations + class FilesystemCreateCommand < AbstractCommand + def execute() + raise "Not Implemented" + end + end + end +end diff --git a/src/operations/filesystem_delete_command.cr b/src/operations/filesystem_delete_command.cr new file mode 100644 index 0000000..494180c --- /dev/null +++ b/src/operations/filesystem_delete_command.cr @@ -0,0 +1,12 @@ + +require "./abstract_command" + +module GX + module Operations + class FilesystemDeleteCommand < AbstractCommand + def execute() + raise "Not Implemented" + end + end + end +end diff --git a/src/operations/filesystem_edit_command.cr b/src/operations/filesystem_edit_command.cr new file mode 100644 index 0000000..270ace9 --- /dev/null +++ b/src/operations/filesystem_edit_command.cr @@ -0,0 +1,12 @@ + +require "./abstract_command" + +module GX + module Operations + class FilesystemEditCommand < AbstractCommand + def execute() + raise "Not Implemented" + end + end + end +end diff --git a/src/operations/filesystem_mount_command.cr b/src/operations/filesystem_mount_command.cr new file mode 100644 index 0000000..944184a --- /dev/null +++ b/src/operations/filesystem_mount_command.cr @@ -0,0 +1,12 @@ + +require "./abstract_command" + +module GX + module Operations + class FilesystemMountCommand < AbstractCommand + def execute() + raise "Not Implemented" + end + end + end +end diff --git a/src/operations/filesystem_umount_command.cr b/src/operations/filesystem_umount_command.cr new file mode 100644 index 0000000..fd76741 --- /dev/null +++ b/src/operations/filesystem_umount_command.cr @@ -0,0 +1,12 @@ + +require "./abstract_command" + +module GX + module Operations + class FilesystemUmountCommand < AbstractCommand + def execute() + raise "Not Implemented" + end + end + end +end