Skip to content

Commit

Permalink
General fixes and improvements, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
DervexDev committed Apr 30, 2024
1 parent 0af512d commit 7be95f7
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 8 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
<div align='center'>
<img alt='Argon' src='assets/banner.png'>
Full featured tool for Roblox development, allowing easy two-way sync of code and instances in real time
<b>Full featured tool for Roblox development</b>
</div>

# Argon VS Code

Argon Visual Studio Code extension is just a [CLI](https://github.com/argon-rbx/argon) wrapper with a user-friendly UI.

# Visit [argon.wiki](https://argon.wiki/) to learn more!

Or follow one of these direct links to:

- [Get Stared](https://argon.wiki/docs/category/getting-started) with Argon
- [Install](https://argon.wiki/docs/installation) Argon
- Learn about Argon [Commands](https://argon.wiki/docs/category/commands)
- Learn the Argon [API](https://argon.wiki/api/project)
- Follow the latest [Changes](https://argon.wiki/changelog/argon)
2 changes: 1 addition & 1 deletion assets/project.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"exclude": {
"type": "array",
"title": "Exclude",
"description": "A glob pattern that excludes the file path from this rule",
"description": "A list of glob patterns that exclude the file path from this rule",
"items": {
"type": "string"
}
Expand Down
8 changes: 5 additions & 3 deletions src/argon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,17 @@ export function debug(mode: string) {
}

export function exec(code: string, focus?: boolean) {
spawn(['exec', code, focus ? '--focus' : ''])
const args = focus ? ['--focus'] : []
spawn(['exec', code, ...args])
}

export function studio(check?: boolean) {
spawn(['studio', check ? '--check' : ''])
const args = check ? ['--check'] : []
spawn(['studio', ...args])
}

export function plugin() {
spawn(['plugin'])
spawn(['plugin', 'install'])
}

export function version() {
Expand Down
2 changes: 1 addition & 1 deletion src/menu/exec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Item } from '.'

export const item: Item = {
label: '$(run-all) Exec',
description: 'Run code snippet or file in Studio',
description: 'Run code snippet or file in Roblox Studio',
action: 'exec',
}

Expand Down
1 change: 1 addition & 0 deletions src/menu/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function getProjectTemplate(): Promise<string> {

const templates = fs
.readdirSync(path.join(getArgonPath(), 'templates'))
.filter((name) => name !== '.DS_Store')
.sort((a, b) => {
const index1 = priority.indexOf(a)
const index2 = priority.indexOf(b)
Expand Down
2 changes: 1 addition & 1 deletion src/menu/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Session } from '../session'

export const item: Item = {
label: '$(rss) Serve',
description: 'Sync with Roblox Studio',
description: 'Live Sync with Roblox Studio',
action: 'serve',
}

Expand Down
2 changes: 1 addition & 1 deletion src/menu/stop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { State } from '../state'

export const item: Item = {
label: '$(stop) Stop',
description: 'Stop running Argon instances',
description: 'Stop running Argon sessions',
action: 'stop',
}

Expand Down

0 comments on commit 7be95f7

Please sign in to comment.