WIP: feature/1-add-support-for-fs-crud #47
33 changed files with 165 additions and 0 deletions
5
Vagrantfile
vendored
5
Vagrantfile
vendored
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# -*- mode: ruby -*-
|
# -*- mode: ruby -*-
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./commands"
|
require "./commands"
|
||||||
|
|
||||||
module GX
|
module GX
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./commands/*"
|
require "./commands/*"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "../config"
|
require "../config"
|
||||||
|
|
||||||
module GX::Commands
|
module GX::Commands
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
require "../file_storage"
|
require "../file_storage"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
|
|
||||||
module GX::Commands
|
module GX::Commands
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
|
|
||||||
module GX::Commands
|
module GX::Commands
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
|
|
||||||
module GX::Commands
|
module GX::Commands
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
require "../file_system_manager"
|
require "../file_system_manager"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
require "../config"
|
require "../config"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
|
|
||||||
module GX::Commands
|
module GX::Commands
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
|
|
||||||
module GX::Commands
|
module GX::Commands
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
|
|
||||||
module GX::Commands
|
module GX::Commands
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
require "../file_system_manager"
|
require "../file_system_manager"
|
||||||
require "tablo"
|
require "tablo"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
require "../file_system_manager"
|
require "../file_system_manager"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./abstract_command"
|
require "./abstract_command"
|
||||||
require "../file_system_manager"
|
require "../file_system_manager"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "baked_file_system"
|
require "baked_file_system"
|
||||||
|
|
||||||
class FileStorage
|
class FileStorage
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
# require "./models/abstract_filesystem_config"
|
# require "./models/abstract_filesystem_config"
|
||||||
require "./utils/fzf"
|
require "./utils/fzf"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
module GX::Models::Concerns
|
module GX::Models::Concerns
|
||||||
module Base
|
module Base
|
||||||
def mounted? : Bool
|
def mounted? : Bool
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
module GX::Parsers
|
module GX::Parsers
|
||||||
abstract class AbstractParser
|
abstract class AbstractParser
|
||||||
abstract def build(parser : OptionParser, ancestors : BreadCrumbs, config : Config)
|
abstract def build(parser : OptionParser, ancestors : BreadCrumbs, config : Config)
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./base.cr"
|
require "./base.cr"
|
||||||
|
|
||||||
module GX::Parsers
|
module GX::Parsers
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./options/config_options"
|
require "./options/config_options"
|
||||||
require "./options/config_init_options"
|
require "./options/config_init_options"
|
||||||
require "./base"
|
require "./base"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./base.cr"
|
require "./base.cr"
|
||||||
require "../utils/parser_lines"
|
require "../utils/parser_lines"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "option_parser"
|
require "option_parser"
|
||||||
|
|
||||||
module GX::Parsers::Options
|
module GX::Parsers::Options
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "option_parser"
|
require "option_parser"
|
||||||
|
|
||||||
module GX::Parsers::Options
|
module GX::Parsers::Options
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "option_parser"
|
require "option_parser"
|
||||||
|
|
||||||
module GX::Parsers::Options
|
module GX::Parsers::Options
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./base"
|
require "./base"
|
||||||
require "./config_parser"
|
require "./config_parser"
|
||||||
require "./mapping_parser"
|
require "./mapping_parser"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
module GX::Types
|
module GX::Types
|
||||||
enum Mode
|
enum Mode
|
||||||
None
|
None
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
module GX::Utils
|
module GX::Utils
|
||||||
class BreadCrumbs
|
class BreadCrumbs
|
||||||
def initialize(base : Array(String))
|
def initialize(base : Array(String))
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "./breadcrumbs"
|
require "./breadcrumbs"
|
||||||
|
|
||||||
module GX::Utils
|
module GX::Utils
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
require "version_from_shard"
|
require "version_from_shard"
|
||||||
|
|
||||||
module GX
|
module GX
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
# mfm Bash completion script
|
# mfm Bash completion script
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
# Copyright © 2024 Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue