Skip to content

Commit

Permalink
Merge pull request #2 from AthennaIO/develop
Browse files Browse the repository at this point in the history
Adjust CLI to only start new projects and install components
  • Loading branch information
jlenon7 authored Apr 19, 2022
2 parents fdeee49 + a45ed40 commit 7dc08ac
Show file tree
Hide file tree
Showing 10 changed files with 1,044 additions and 200 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cli ⌨️

> Template for new projects
> Athenna CLI to create new projects and install components.
[![Git Hubfollowers](https://img.shields.io/github/followers/athennaio.svg?style=social&label=Follow&maxAge=2592000)](https://github.com/athennaio?tab=followers)
[![GitHub stars](https://img.shields.io/github/stars/athennaio/cli.svg?style=social&label=Star&maxAge=2592000)](https://github.com/athennaio/cli/stargazers/)
Expand Down
42 changes: 42 additions & 0 deletions config/logging.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import { Color } from '@athenna/logger'

export default {
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
|
| This option defines the default log channel that gets used when writing
| messages to the logs. The name specified in this option should match
| one of the channels defined in the "channels" configuration object.
|
*/

default: 'cli',

/*
|--------------------------------------------------------------------------
| Log Channels
|--------------------------------------------------------------------------
|
| Here you may configure the log channels for your application.
|
| Available Drivers:
| "console", "debug", "discord", "file", "null", "pino", "slack", "telegram".
| Available Formatters:
| "cli", "simple", "nest", "json", "request", "message", "pino-pretty(only for pino driver)".
|
*/

channels: {
cli: {
driver: 'console',
formatter: 'cli',
streamType: 'stdout',
formatterConfig: {
level: 'INFO',
chalk: Color.cyan,
},
},
},
}
Loading

0 comments on commit 7dc08ac

Please sign in to comment.