feat: add scaffold for operations (command design pattern)
This commit is contained in:
parent
de8c777a3c
commit
7dec0da91c
5 changed files with 60 additions and 0 deletions
12
src/operations/filesystem_create_command.cr
Normal file
12
src/operations/filesystem_create_command.cr
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
require "./abstract_command"
|
||||||
|
|
||||||
|
module GX
|
||||||
|
module Operations
|
||||||
|
class FilesystemCreateCommand < AbstractCommand
|
||||||
|
def execute()
|
||||||
|
raise "Not Implemented"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
12
src/operations/filesystem_delete_command.cr
Normal file
12
src/operations/filesystem_delete_command.cr
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
require "./abstract_command"
|
||||||
|
|
||||||
|
module GX
|
||||||
|
module Operations
|
||||||
|
class FilesystemDeleteCommand < AbstractCommand
|
||||||
|
def execute()
|
||||||
|
raise "Not Implemented"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
12
src/operations/filesystem_edit_command.cr
Normal file
12
src/operations/filesystem_edit_command.cr
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
require "./abstract_command"
|
||||||
|
|
||||||
|
module GX
|
||||||
|
module Operations
|
||||||
|
class FilesystemEditCommand < AbstractCommand
|
||||||
|
def execute()
|
||||||
|
raise "Not Implemented"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
12
src/operations/filesystem_mount_command.cr
Normal file
12
src/operations/filesystem_mount_command.cr
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
require "./abstract_command"
|
||||||
|
|
||||||
|
module GX
|
||||||
|
module Operations
|
||||||
|
class FilesystemMountCommand < AbstractCommand
|
||||||
|
def execute()
|
||||||
|
raise "Not Implemented"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
12
src/operations/filesystem_umount_command.cr
Normal file
12
src/operations/filesystem_umount_command.cr
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
require "./abstract_command"
|
||||||
|
|
||||||
|
module GX
|
||||||
|
module Operations
|
||||||
|
class FilesystemUmountCommand < AbstractCommand
|
||||||
|
def execute()
|
||||||
|
raise "Not Implemented"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue