// Read from the .env file
// ATTENTION : These lines MUST be the first of this file (except for the path import)
import path = require('node:path');
import myEnv = require('dotenv');
import dotenvExpand = require('dotenv-expand');


dotenvExpand.expand(myEnv.config({
                                     path      : path.join(__dirname, '../.env'),
                                     DOTENV_KEY: 'dotenv://:key_fc323d8e0a02349342f1c6a119bb38495958ce3a43a87d19a3f674b7e2896dcb@dotenv.local/vault/.env.vault?environment=development'
                                 }));

require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file


import CommanderApp from './commander/CommanderApp';
import HttpManager  from './managers/HttpManager';


HttpManager.registerAxiosInterceptor();


new CommanderApp();