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
|
||||
|
||||
# -*- 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"
|
||||
|
||||
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/*"
|
||||
|
|
|
@ -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"
|
||||
|
||||
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 "../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"
|
||||
|
||||
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"
|
||||
|
||||
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"
|
||||
|
||||
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 "../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 "../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"
|
||||
|
||||
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"
|
||||
|
||||
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"
|
||||
|
||||
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 "../file_system_manager"
|
||||
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 "../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 "../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"
|
||||
|
||||
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 "./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 Base
|
||||
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
|
||||
abstract class AbstractParser
|
||||
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"
|
||||
|
||||
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_init_options"
|
||||
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 "../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"
|
||||
|
||||
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"
|
||||
|
||||
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"
|
||||
|
||||
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 "./config_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
|
||||
enum Mode
|
||||
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
|
||||
class BreadCrumbs
|
||||
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"
|
||||
|
||||
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"
|
||||
|
||||
module GX
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#!/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
|
||||
|
||||
|
|
|
@ -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